fog:R→R defined by fog(x)=f(g(x))=f(x3+5)=2x3+7=h(x) say.
Now h(x)=2x3+7.
Let x1,x2ϵR (Domain of h(x)) such that h(x1)=h(x2)
i.e., 2x31+7=2x32+7⇒x1=x2. Hence h(x) is one-one.
Let y = h(x) such that yϵR (Codomain of h(x)).
That is y=2x3+7 ⇒x=(y−72)13ϵR (Domain of h(x)).
So for every yϵR there exists xϵR such that (3√y−72)=y. Hence h(x) is onto.
As h(x) is one-one and onto so, it is invertible with h−1(x)=(fog)−1(x)=3√x−72.
Also (fog)−1(9)=3√9−72=1.