\[y = \left\{ \begin{matrix}x + 3;\ \ \ x < - 2 \\1;\ \ - 2 \leq x \leq 2 \\ - x + 3;\ \ \ x > 2 \\\end{matrix} \right.\ \]