The graph f(x)=5x^2 is a parabola that opens upwards and which minimum point is at x=0. We need that, once f(x) is transformed, g(5)=9.
For that, we need to translate the graph on the plane. First, 9 units up and then 5 units to the right; this is:

Now, we need to write g(x) into standard form. In general, the standard form of a quadratic equation is

Where (h,k) is the vertex of the parabola.
Therefore, g(x) is already written in the standard form, a=5 and (h,k)=(5,9).
The answer is 5(x-5)^2+9