This is LaTeX code:
[latex]
q=M_1=max_{x \in [0,0.5]}|q'(x)|<1\\ q'(x)=-\frac{1}{2}x
[/latex]