From the problem, we have a function of x :

From the graph, g(x) is the result when f(x) is shifted 2 units downward, and note that when shifting a function f(x) c units downward, the function will be :

Since f(x) will be shifted 2 units downward, the function will be :

The answer is D. g(x) = (x + 7)^2 - 2