To complete the square, you can add (and subtract) the square of half the x coefficient.
... y = x² -10x + 30
... y = (x² -10x +25) + (30 -25)
... y = (x -5)² +5
9.4m questions
12.2m answers