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