Given:
The functions are


To find:
How the graphs of f and g are related.
Solution:
We have,


Using these functions, we get
...(1)
The translation is defined as
... (2)
Where, a is horizontal shift and b is vertical shift.
If a>0, then the graph shifts a units left and if a<0, then the graph shifts a units right.
If b>0, then the graph shifts b units up and if b<0, then the graph shifts b units down.
On comparing (1) and (2), we get

It means, the graph of f is translated 8 units up to create the graph of g.
Therefore, the correct option is B.