Which is the vertex form of the equation for the quadratic function y = -x2 - 6x -7

The standard form of the quadratic function is ax^2+bx+c
the function here
[tex]y=-x^2-6x-7[/tex]is in this form, by comparison a= - 1, b= - 6 and c = -7
The vertex form is :
[tex]y=a(x-h)^2+k[/tex]where (h,k) are the coords of the vertex. the x-coord of the vertex
[tex]h=\frac{-b}{2a}=-\frac{-6}{2(-1)}=-3[/tex]and y-coord
[tex]k=-(-3)^2-6(-3)-7=2[/tex]here
[tex](h,k)=(-3,2)\text{ and a=-1}[/tex][tex]y=-(x+3)^2+2[/tex]that is the equation