Completing the Square Equation