Im solving to find the inverse of f(x)=(2x+1)/(x-1) and ran into a snag.

heres what i did so far...

1. f(x)=(2x+1)/(x-1)

2. y=(2x+1)/(x-1)

3. x=(2y+1)/(y-1)

4 x(2y+1)=y-1

5. 2xy+1=y-1

6. 2xy+2=y

I cant figure out how to propery factor out the y on the left because im not sure what equation would yield 2xy+2 since 2y(x+2) obviously wont work out. where do you think im going off course?

Thanks.