The functions are . and
If and are inverse functions then .
Consider .
.
Therefore .
Hence and are inverse functions.
and are inverse functions.