Given:
[tex]f(x)=3^x[/tex][tex]g(x)=f(x)-2=3^x-2\ldots\ldots(1)[/tex]If a function f(x) is shifted h units vertically, then the new function is given as,
[tex]g(x)=f(x)+k\ldots\ldots.(2)[/tex]If k is positive, the graph of f(x) will shift up and if k is negative, f(x) will shift down by k units.
Comparing (2) with (1), we find that k=-2.
So, the graph f(x) gets shifted -2 units down.
Hence, the graph of g is the graph of f shifted 2 units down.
Option (B) is correct.