Given y=(a(x-1))/(x+1) , solve for x

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

(x+1)y = a(x-1)
xy + y = ax - a
xy - ax = -y - a
x(y-a) = -(y+a)
x = -(y+a)/(y-a)