You can put this solution on YOUR website! (2*(x^2) + (2*x) - 4) / (x^2 - (5*x) - 14)
(2x +4 ) (x -1)/(x+2) (x-7) by factoring
2(x+2) (x-1)/(x+2) (x-7)
The x+2 cancel
2(x-1)/(x-7)
It would have been easier to factor a 2 out of the numerator right away
2(x^2+x-2), which factors into 2(x+2)(x-1)