(x+1)f(x) =3x-1
xf(x)+f(x)=3x-1
3x-xf(x)=f(x)+1
(3-f(x))x=f(x)+1
∴x=[f(x)+1]/[3-f(x)]
∴f(x)的反函数=(x+1)/(3-x)