This problem says that g(x) is vertical shift of 3ˣ so it cannot be B nor D since that would be horizontal shift.
Now 3⁰ = 1 so normally it would contain point (0, 1) but graph of g(x) has point (0,2) which means 3ˣ was shifted one unit up, so that would be 3ˣ + 1
Final answer: A
Hope this helps.