Solve quadratic equations by completing the square.