Solving Equations by Completing the Square