Solving quadratic Equations by Completing the square