By definition, an inverse function produces points (y,x) for every point (x,y) of the parent function. So what really occurs in simplest terms is the swapping of all x and y coordinates. I only say all of this so that finding the inverse function is more intuitive. :)
To find an inverse function, you must solve for the independent variable, x, then when done, switch the variable labels...
y=2x-10 solve for x, add 10 to both sides
y+10=2x divide both sides by 2
(y+10)/2=x now swap or reverse variable labels.
y=(x+10)/2 so
f^-1(x)=(x+10)/2