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