\[\left\{ \begin{matrix} x = - 2 \\ y = 10\ \\ \end{matrix}\ \ \ \ \ \ \ или\ \ \right.\ \text{\ \ \ \ \ \ }\left\{ \begin{matrix} x = 10 \\ y = - 2 \\ \end{matrix} \right.\ \]
\[Ответ:( - 2;10);\ \ (10;\ - 2).\]