Question 36150
x^2+x-12
----------------
2x^2-5x-3

Let's simplify

x^2 + x - 12
x^2 + 4x - 3x - 12
x(x + 4) - 3(x + 4)
(x - 3)(x + 4)


2x^2-5x-3
2x^2 - 6x + x - 3
2x(x - 3) + 1(x - 3)
(2x + 1)(x - 3)

Substituting the factors

(x - 3)(x + 4)
----------------
(2x + 1)(x - 3)

Removing the common term x-3 we get

(x + 4)
----------
(2x + 1)