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
6.7m questions
8.8m answers