This is LaTeX code:
[latex]
m\vec{a}=\vec{F}_{G} + \vec{F}_{TR}+\vec{F}_{EL}+\vec{N} \\ \\ \vec{F}_{G}=mg\frac{\sqrt 2}{2}(e_1 - e_2) \\ \vec{F}_{EL}=k\vec{TO}=k(\frac{a}{2}-x,\frac{a}{2})=k(\frac{a}{2}-x)e_1 + k\frac{a}{2}e_2
[/latex]