Which of the following is equal to g(x)?

Answer: Option D
[tex]g(x) = 3 ^ x +1[/tex]
Step-by-step explanation:
If we have a function f(x), then the graph of [tex]y = f (x)[/tex] can be shifted upwards k units using the transformation [tex]g (x) = f (x) + k[/tex].
Where k is a positive number.
In this problem the function f(x) is:
[tex]f (x) = 3 ^ x[/tex]
This function has its intercept with the y-axis in y = 1
Then, the graph of g(x) is equal to the graph of f(x) shifted 1 unit up and cuts to the y axis in y = 2.
Therefore g(x) is equal to the function f(x) after the transformation [tex]y = f(x) +1[/tex]
So:
[tex]g(x) = 3 ^ x +1[/tex]