5n2+13n-28

Factor 13 out of 13n.

5n2+13(n)-28

Rewrite 13 as -7 plus 20

5n2+(-7+20)n-28

Apply the distributive property.

5n2-7n+20n-28

5n2-7n+20n-28

Group the first two terms and the last two terms.

(5n2-7n)+20n-28

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

n(5n-7)+4(5n-7)

n(5n-7)+4(5n-7)

Factor the polynomial by factoring out the greatest common factor, 5n-7.

(5n-7)(n+4)

Factor 5n^2+13n-28