The a.o.s of the quadratic function is:
[tex]x=2[/tex]And the range is:
[tex]\text{Ran}_f=\lbrack-9,\infty)[/tex]Then, the vertex of the parabola should be:
[tex]V=(2,-9)[/tex]And it opens upwards. Then, using the vertex form of the quadratic function:
[tex]f(x)=(x-2)^2-9[/tex]