You can
put this solution on YOUR website!Suppose f(x) = (2x+1)/(x-1) and g(x)= x+1/x-2
Now you have to check that f(g(x))= x
Let's check this:
f(g(x)) = (2*g(x)+1)/(g(x)-1)
= [2*(x+1/x-2) + 1]/(x+1/x-2 -1)
= [2*(x+1/x-2)+(x-2/x-2]/[x+1/x-2)-(x-2/x-2)]
= [(2x+2+x-2)/(x-2)] / [x+1-x+2/(x-2)]
= 2x+2+x-x / x+1-x+2
= x