2a2+5a-12

Factor 5 out of 5a.

2a2+5(a)-12

Rewrite 5 as -3 plus 8

2a2+(-3+8)a-12

Apply the distributive property.

2a2-3a+8a-12

2a2-3a+8a-12

Group the first two terms and the last two terms.

(2a2-3a)+8a-12

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

a(2a-3)+4(2a-3)

a(2a-3)+4(2a-3)

Factor the polynomial by factoring out the greatest common factor, 2a-3.

(2a-3)(a+4)

Factor 2a^2+5a-12