Reorder terms.

Reorder and .

Factor out of .

Rewrite as plus

Apply the distributive property.

Remove unnecessary parentheses.

Remove unnecessary parentheses.

Group the first two terms and the last two terms.

Factor out the greatest common factor (GCF) from each group.

Factor the polynomial by factoring out the greatest common factor, .

Factor 7a^2+39ab+20b^2