This is LaTeX code:
[latex]
1/2\times (5000 - 2200) = 1400
[/latex]