I need help with my Pre-Calculus HW! The directions say "given f(x) and g(x), determine if f and g are inverse functions."

We will have the following:
1.
[tex]y=-(x+1)^3[/tex]Thus:
[tex]x=-(y+1)^3\Rightarrow y=-\sqrt[3]{x}-1[/tex]So, g(n) is not the inverse function.
2.
[tex]y=\frac{-16+x}{4}[/tex]Thus:
[tex]x=\frac{-16+y}{4}\Rightarrow y=4x+16[/tex]So, g(n) is the inverse function.