Ok to figure out if one is an inverse function, you plug in y for x and substitute f(x) with x and solve for y.
We only have to do this for 1 of the functions so we will take f(x)
x = 5y +1/y
I’m not sure you can solve for y here therefore g(x) is not an inverse function of f(x)