This is LaTeX code:
[latex]
mc = v_a(c-x) = v_ac - v_ax
[/latex]