Just started learning about inverse functions, and got stuck on this one:
$$f(x) = \frac{1-2x}{1+x}$$
So I tried multiplying by $(1+x)$ on both sides and got $y+yx = 1-2x$ but that doesn't seem to lead anywhere. Any help is appreciated.
Thanks in advance
$$y+yx=1-2x\\yx+2x=1-y\\x(y+2)=1-y\\x=\frac{1-y}{y+2}$$