Worked example: Solving equations by completing the square