Compete the square y-x^2+6x=0

To complete the square for the given equation y - x^2 + 6x = 0, we will first rearrange the terms:

y = x^2 - 6x

To complete the square, we'll take half of the coefficient of x and square it:

(-6/2)^2 = (-3)^2 = 9

Add and subtract this value inside the parentheses of x:

y = (x^2 - 6x + 9) - 9
y = (x - 3)^2 - 9

Therefore, the completed square form of the equation is y = (x - 3)^2 - 9.