Answer:
g(x) = h(x -7) +5
Explanation:
Given h(x) defines a parabola that opens upward with a vertex at (-2, -7) and g(x) defines the same parabola with its vertex at (5, -2), you want to express g(x) in terms of h(x).
Translation
The graph of f(x) is translated right h units and up k units by ...
f(x -h) +k
We see that g(x) is a translation of h(x) right by 7 units and up by 5 units. This means (h, k) is (7, 5), and the translated function is ...
g(x) = h(x -7) +5
__
Additional comment
This is confirmed by the plots in the second attachment.