In the statement it is given that has an inverse function.
Therefore both and are one-to-one functions.
Let .
.
Therefore, .
Hence the statement is proved.