The function is .
Replace with
.
To find the inverse of a function interchange the variables and
,
Solve for .
Replace with
.
Check :
\Substitute in
.
Substitute in
.
.