Greetings from Brasil...
We know that the translations are established as follows:
→ Horizontal
F(X + k) ⇒ k units to the left
F(X - k) ⇒ k units to the right
→ Vertical
F(X) + k ⇒ k units up
F(X) - k ⇒ k units down
G(X) = X and F(X) is G(X) shifted up 2 units.
In the statement it is said that there was a translation of 2 units upwards, so
F(X) = G(X) + k where k = 2 units up