Answer:
Step-by-step explanation:
Hello,
For any function f which has an inverse function we can write

This is why, in practice, to find the inverse of f we will consider f(x) = y and we will look for x as a function of y, so we switch x and y and solve for y. Let's do it.
<u>Step 1 - The function f(x) can be written as a variable. </u>
<u />
f(x) = y = 5x + 2
<u />
<u>Step 2 - switch the variables x <-> y</u>
x = 5y + 2
subtract 2 to both parts of the equation
<=> x - 2 = 5y + 2 - 2 = 5y
divide by 5 both parts of the equation

It means that the inverse of f is as below.

<u>Step 3 - Find the inverse of g(x)</u>
We already found that the inverse of f is g, so the inverse of g is f.
Let's do it again.

And we found what we already known, meaning f is the inverse of g.

Hope this helps.
Do not hesitate if you need further explanation.
Thank you