Don't mix cases. In a single problem, F(x) and f(x) could be very different functions.
1. f(g(x)) = f(x+3) = 10(x+3)
2. inverse of f(g)
g adds 3 to the input; f multiplies the input by 10.
So f(g(x)) adds 3 to the input and then multiplies it by 10.
The inverse does the opposite operations in the opposite order: divide by 10 and subtract 3.