I'm having trouble with two problems that I'm stuck on, I think the fact that they involve fractions is confusing me...

1) f(x) = (x+1)/x

f^-1(y) = (x+1)/x

yx = (x+1)

yx-1 = x

check:

y = (yx-1)+1/(yx-1)

and that's how far I got...

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

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

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

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

check:

y = 2 - 1/(-1(-1/y-2) - 1

and stuck out of my mind here

Any help would be great. Thanks