If f(x)=x2+4,x0\displaystyle {f{{\left({x}\right)}}}={x}^{{2}}+{4},{x}\ge{0} and g(x)=x4\displaystyle {g{{\left({x}\right)}}}=\sqrt{{{x}-{4}}},

(a) (fg)(x)=\displaystyle {\left({f}\circ{g}\right)}{\left({x}\right)}=  

(b) (gf)(x)=\displaystyle {\left({g}\circ{f}\right)}{\left({x}\right)}=  

(c) Thus g(x)\displaystyle {g{{\left({x}\right)}}} an inverse function of f(x)\displaystyle {f{{\left({x}\right)}}}