To put an equation as the given in the form (x+a)^2=b you need to complete the square:
You factorize the equation, as follow:
Then, you have that:
You have the equation in form:
You can identify the 2a as -6:
Then, a will be:
You add and substract a^2:
As:
You organize the equation as follow:
Then, you get that:
Now you complete the square:
You simplify:
You divide both sides of the equation into 3:
You substract 66 in both sides of the equation:
Then, the given equation is equal to (x-3)^2=-66