The function is a one-to-one function.
If the function is one-to-one, then range of inverse function is domain of the function and domain of inverse function is range of the function.
Graph the invese function .
Graph of invese function :