So remember that vertex form is
Firstly, put x^2 - 6x into parentheses:
![y=(x^2-6x)+16](https://img.qammunity.org/2019/formulas/mathematics/high-school/x7d9jahpdw7tv1auh6o614un755f1x98b6.png)
Next, to make what's inside the parentheses a perfect square, we need to divide the x coefficient by 2 and square that result. In this case: -6/2 = -3; (-3)^2 = 9. Add 9 into the parentheses, and subtract 9 on the outside of the parentheses:
![y=(x^2-6x+9)+16-9](https://img.qammunity.org/2019/formulas/mathematics/high-school/xr8ezxo675gkde1qojsh1epr97b5zomhbr.png)
Next, factor (x^2-6x+9) to (x - 3)^2 and combine like terms outside of the parentheses, and your answer should be:
![y=(x-3)^2+7](https://img.qammunity.org/2019/formulas/mathematics/high-school/hbq65dtpnq4xmdhjv2pdco8g9wmkda4n5e.png)