Math: I just need this factored out.

2x^2+5x-12

EX: 3x^2+6x-18
3(x^2+2x-6)

Please help ^-^ I don't know if it's 5/2 or something else..