If the two functions f(x) and g(x) are inverse to each other then (fog)(x) = (gof)(x) = x.
The two functions are .
Therefore, the two functions f(x) and g(x) are inverses.