When doing this you need to be careful about domains and ranges. (The range of the function is the domain of the inverse function and visa versa.)
Switch the roles of x and y:
Solve for y:
Note, though, that since f(x) is only defined on that the inverse function is only defined on rather than .
You do this one. I get .