The equation of the quadratic function in vertex form is
Where
a is the coefficient of the quadratic term
(h,k) are the coordinates of the vertex.
Functions g(x) and f(x) have the same shape, this indicates that they have the same value of "a"
The equation of g(x) is:
The coefficient of the quadratic term is a=1, this value will be the same for f(x).
The coordinates of the vertex for f(x) are (3,-1)
Knowing the value of a and the coordinates of the vertex, you can write the equation for f(x) as follows:
The correct option is A.