Looking at the graph of g(x) (the red graph), we can see that it has the same format of f(x), but it is 9 units above it (f(x) passes through (0, -6) and g(x) passes through (0, 3)).
Therefore the graph of g(x) can be created using a translation of 9 units up from the graph of f(x).
That means we can write the following expression:
So the correct option is B.