This is LaTeX code:

[latex]
\sqrt{x^2+y^2}=\sqrt{(x-1)^2+(y-1)^2}
[/latex]