The augmented matrix for the system is
\begin{equation*}
\left[
\begin{array}{ccc|c}
1 \amp 1 \amp 1 \amp 2\\
2 \amp -1 \amp 1 \amp 1
\end{array}
\right].
\end{equation*}
Row reducing to reduced row echelon form gives
\begin{equation*}
\left[
\begin{array}{ccc|c}
1 \amp 0 \amp \frac{2}{3} \amp 1\\
0 \amp 1 \amp \frac{1}{3} \amp 1
\end{array}
\right].
\end{equation*}
So
\begin{equation*}
x=1-\frac{2}{3}z,\quad y=1-\frac{1}{3}z.
\end{equation*}
Let \(z=3t\text{.}\) Then
\begin{equation*}
x=1-2t,\quad y=1-t,\quad z=3t.
\end{equation*}
Therefore,
\begin{equation*}
\begin{cases}
x=1-2t,\\
y=1-t,\\
z=3t,
\end{cases}
\quad t\in\mathbb{R}.
\end{equation*}