Ответ: \[y = \left\{ \begin{matrix} 2,\ \ \ \ \ \ \ \ \ \ \ если\ x > 0 \\ - 2,\ \ если\ x \leq 0 \\ \end{matrix} \right.\ \]