We notice that function G(x) is the horizontal translation of f(x). This translation is 5 units to the right.
We know that we get this type of translation if we add the number of units to the argument of the original function. If the number we add is negative then the translation is to the right, if the number we add is positive then the translation is to the left.
Therefore the expression for function G(x) is: