This is LaTeX code:
[latex]
x=\frac{4(r-1)}{r^2+1}
[/latex]