Completing the square (intermediate)