-10/5 x - x^2 + 5x = 2 divide -10/5 and subtract 2 from both sides of the equal sign
-x^2 -2x + 5x - 2 = 0 put the equation into a format you are used too. to solve the equation must equal 0. multiply through by -1.
x^2 - 3x +2 = 0 now factor!
(x - 2)(x - 1) = 0
so x = 2 or 1