solve for the roots of the quadratic equation

2(x^2 - 4x + 5)=x^2 - x

2x^2 - 8x + 10 = x^2 - x

x^2 - 7x + 10 = 0
(x-2)(x-5) = 0
x = 2 or x = 5