#completing the square