9.3 Completing the square