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