Interchanging between factoring out the greatest monomial factor and applying the distributive property.