William W. answered 09/12/22
Math and science made easy - learn from a retired engineer
To move a graph in the left-right direction you must add or subtract from "x" because "x" is the left-right direction. The only thing goofy about the "x" is that you have to do the opposite of what you would normally think. To move right, subtract. To move left, add.
So to move 2 units right, subtract 2 from the "x":
g(x) = f(x - 2) = (x - 2) + 2
So g(x) = x