Let's add 4x to f(x) and see what happens:
Where:
f(x) is the red one.
as you can see f(x) shifted 2 units to the left and 4 units down.
Now, let's add 10:
Where f(x) is the red one and g(x) is the blue one. After this, the graph shifted 10 units up.
Therefore, we can conclude, that g(x) is basically equal to f(x) but shifted 2 units to the left and 6 units up