Write the function LaTeX:  \displaystyle f(x)=x^{2} + 6 x in vertex form and identify the vertex.

LaTeX:  \displaystyle h = -\frac{b}{2a} and LaTeX:  \displaystyle k=f(h) . Using each formula gives LaTeX:  \displaystyle h= -3 and LaTeX:  \displaystyle k = -9 . The vertex is located at LaTeX:  \displaystyle (-3,-9) and the vertex form is LaTeX:  \displaystyle f(x) = a(x-h)^2+k=\left(x + 3\right)^{2} - 9 .