You can put this solution on YOUR website! What happens if you use the "2" shown as part of the function input, and the coefficient "2" on the x, and ADD 2*2=4 to the linear expression?
Now, check how this works for some function g(x).
Use input of x-2 for g.