Answer:
g and f are inverse functions because g(f(x)) = f(g(x)) = x
Step-by-step explanation:
Let's start by finding f(g(x)) and g(f(x)). As we discussed in another question, to find a composite function, apply the outer function to whatever the inner function evaluates to. We can start with f(g(x)):

Now, let's find g(f(x)):

There is a property that says that if f(g(x)) = g(f(x)) = x, the two functions are inverse. This suggests that g and f are inverse functions. We can verify this by taking one function, switching y and x, and then solving for y. If we complete this process and find that we get the OTHER function, it means the two functions are inverse. Let's try that:

Swap x and y:

Solve for y:

Notice that we got g, which means f and g are inverse.