solve the equation using factoring and check the solution.

x^2 - x + 2 = 0