You can put this solution on YOUR website! 5x^2-9x-2
Use factor by grouping.
Multiply the outer coefficients 5 * -2 = -10
We need two numbers that multiply to -10 but add to -9
-10 * 1 gives us -10 while -10 + 1 = -9 so we have what is needed.
Now we want to rewrite -9x into parts
-10x and 1x
then rewrite the equation
5x^2 -10x + x -2
Now factor 5x^2 -10x and x -2
5x(x - 2) + 1( x - 2)
(5x + 1)(x - 2)
********************
x^2-9x+20
Since the coefficient of the x^2 term is one,
we look for two numbers whose product is 20 while
their sum is -9
(-4) and (-5) work
so the factors are (x - 4) and (x - 5)
(x - 4)(x - 5)=x^2-9x+20