You have the following function f(x):
When you translate a function f(x) in b units, the new function can be described as follow:
where b is a number, positive or negative. It is positive if the translation is upward, it is negative if the translation is downward. In this case you have that the translation is 2 units downward, then, you obtain for the new function g(x):