Answer:
Option D.
Step-by-step explanation:
The transformation of a function is defined as
.... (1)
Where, k is stretch factor, a is horizontal shift and b is vertical shift.
If 0<k<1, then the graph compressed vertically by factor k and if k>1, then the graph stretch vertically by factor k.
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.
The given relationship between two function is
.... (2)
On comparing (1) and (2) we get
h=2> 0, so the graph of g(x) is the graph of f(x) translated 2 units left.
Therefore, the correct option is D.