example of completing the squares