This is LaTeX code:
[latex]
f(x):= \{ \left { \begin{array}{} x \ ; \ x \neq 0 \\ 2 \ ; \ x=0 \end{array} \right
[/latex]