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