Let’s find the first few values of $ f(n) $ and $ g(n) $ to find a pattern:
$ f(0) = 0 $
$ f(1) = 2 + f(0) = 2 $
$ f(2) = 2 + f(1) = 4 $
$ f(n) = 2n $
$ g(0) = 1 $
$ g(1) = 7 \cdot g(0) = 7 $
$ g(2) = 7 \cdot g(1) = 49 $
$ g(n) = 7^n $
Thus, $ g(f(n)) = 7^{2n} $.