The Blue graph is the graph of [tex]f(x)=3^x[/tex]
Notice that the blue graph is shifted 2 units up, and 2 units right.
The 2 units shift up is clear. To notice the shift to the right. notice the slight increase of the blue graph at -2, and of the red graph at 0.
[tex]3^x[/tex] shifted 2 units right is [tex]3^{x-2}[/tex] because a shift of 2 units right of any function f(x) is f(x-2).
[tex]3^{x-2}[/tex] shifted 2 units up is [tex]3^{x-2}+2[/tex]
So the function of the red graph is [tex]g=3^{x-2}+2[/tex]
Answer: h=2, k=2