replace all x's with y's and replace all y's with x, then solve for y.
For example:
y = 2x + 3
x = 2y + 3 (swapped x's with y's and y's with x's)
x - 3 = 2y (subtracted 3 from both sides as first step to isolate "y")
[tex] \frac{x - 3}{2} [/tex] = y (divided both sides by 2 to isolate "y")
Inverse [tex] f^{-1} (x) [/tex] = [tex] \frac{x - 3}{2} [/tex]
Hope the example helps!