The given equation is
[tex]y=-x^2+12x-4[/tex]To complete the square take -1 as a common factor from the right side
[tex]-x^2+12x-4=-1(x^2-12x+4)[/tex]Divide the term of x by 2 to find the product of the first and second terms in the bracket
[tex]\frac{-12x}{2}=-6x[/tex]The bracket will be (x - 6)
Square it
[tex](x-6)^2=x^2-12x+36[/tex]Then add and subtract (36 - 4)
[tex]-\lbrack(x^2-12x+4+32)-32\rbrack=-(x^2-12x+36)+32[/tex]Make the trinomial a square binomial
[tex]-(x^2-12x+36)-32=-(x-6)^2+32[/tex]The completing square is
[tex]-x^2+12x-4=-(x-6)^2+32[/tex]