This is LaTeX code:
[latex]
q=\frac{m}{n}=\frac{2m}{2n}
[/latex]