This is LaTeX code:

[latex]
-\frac{1+2}{7} = -\frac{3}{7} = \frac{-3}{7} = \frac{-1-2}{7}
[/latex]