You can put this solution on YOUR website! For g(x) to be an inverse of f(x), the following should be true:
g(f(x))=x.
g(f(x)) =
=
=
This simplifies to a linear equation in x and not simply , so g(x) is not an inverse of f(x).
Another way to check is graphically. For g(x) to be an inverse, it should be symmetrical around y=x compared to f(x). As shown in this chart (where y=x is the blue line), g(x) is not symmetrical around around y=x.