Answer :
The adding a value to x shifts the graph that many places to the left.
In g(x) you are adding 2 to x, so the graph moves 2 units to the left.
See attached image.

The adding a value to x shifts the graph that many places to the left.
In g(x) you are adding 2 to x, so the graph moves 2 units to the left.
See attached image.