And the values of y are the same in both function. Therefore, The function g(x) is a horizontal shift of f(x).

The function g(x) is shifted 1 unit to the right.

Since we add 1 to the values of y for the function f to get the values of y for the function h(x).

And the values of x are the same in both function. Therefore, The function h(x) is a vertical shift of f(x).

The function h(x) is shifted 1 unit up.