Notice that the vertical shift corresponds to one unit. Then, the proper transformation g(x) is:
8.0m questions
10.6m answers