40b2+19b-3

Factor 19 out of 19b.

40b2+19(b)-3

Rewrite 19 as -5 plus 24

40b2+(-5+24)b-3

Apply the distributive property.

40b2-5b+24b-3

40b2-5b+24b-3

Group the first two terms and the last two terms.

(40b2-5b)+24b-3

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

5b(8b-1)+3(8b-1)

5b(8b-1)+3(8b-1)

Factor the polynomial by factoring out the greatest common factor, 8b-1.

(8b-1)(5b+3)

Factor 40b^2+19b-3