This is LaTeX code:

[latex]
\frac{1+x}{1-x}=\frac{-(1-x)+2}{1-x}=-1+\frac{2}{1-x}=-1-\frac{2}{x-1}
[/latex]