This is LaTeX code:
[latex]
\displaystyle \frac{\beta^2m-\alpha^2n}{2mn}
[/latex]