g(f(x)) means you take the function f and plug it into g. just like how g(3) means you take the number 3 and plug it into g...same concept, only you're plugging in a function, not a number.
so,
however, with these computational questions, i think it's easier to evaluate f(2) and then plug that number into g. it's usually easier that way...to me