Source TeX:
2{x^2} - 7x = \dfrac{ {x^2}+5}{2}