we have

the vertex of the function g(x) is the point

the vertex of the function f(x) is the point

so
the rule of the translation of g(x) to f(x) is
(x,y)------> (x,y-4)
that means
the translation is
units down
therefore
the equation of the function f(x) is

therefore
the answer is
