how to solve completing the square in a simple form?