The 2x is common in both functions.
However, if you looked at g(x), you will find that g(x) has decreased from +2 to -3 with a decrease of 5 units.
This means that any value put in g(x) will be 5 units less than its correspondent in f(x).
Therefore, your graph will be shifted 5 units right