Let f(x)=3x and let g(x)=x-2

Find g of g(5)

Is the solution "1" correct?

g of g(5) is g(3), which is 1.

Your question does not depend upon what f(x) is. Are you sure you stated it correctly? I would expect them to want to know f[g(x)]