#### Answer

The solution is $\left\{ \left( 4,-3,2 \right) \right\}$

#### Work Step by Step

A system of linear equations can be solved with the help of matrices. It is solved with the help of an augmented matrix.
A matrix -- which is divided into two groups divided by a vertical bar with the coefficients of the variable on one side and constants on the other side -- is called an augmented matrix.
The row indicates the constant coefficient from an equation whereas the columns indicate the coefficients of the variables. The coefficient of the missing variable is used as $0$.
The augmented matrix for the provided system of equation is written as follows:
$\left[ \begin{matrix}
1 & 0 & -3 & -2 \\
2 & 2 & 1 & 4 \\
3 & 1 & -2 & 5 \\
\end{matrix} \right]$
Gauss elimination method is used to solve the system of linear equations by turning the augmented matrix into row echelon form. Perform the operations as follows:
Replace ${{R}_{2}}\,\text{by}\,-2{{R}_{1}}+{{R}_{2}}$ to get,
$\left[ \begin{matrix}
1 & 0 & -3 & -2 \\
0 & 2 & 7 & 8 \\
3 & 1 & -2 & 5 \\
\end{matrix} \right]$
Replace ${{R}_{3}}\,\text{by}\,-3{{R}_{1}}+{{R}_{3}}$ to get,
$\left[ \begin{matrix}
1 & 0 & -3 & -2 \\
0 & 2 & 7 & 8 \\
0 & 1 & 7 & 11 \\
\end{matrix} \right]$
Interchange the second and third row, to get,
$\left[ \begin{matrix}
1 & 0 & -3 & -2 \\
0 & 1 & 7 & 11 \\
0 & 2 & 7 & 8 \\
\end{matrix} \right]$
Replace ${{R}_{3}}\,\text{by -2}{{R}_{2}}+{{R}_{3}}$ to get,
$\left[ \begin{matrix}
1 & 0 & -3 & -2 \\
0 & 1 & 7 & 11 \\
0 & 0 & -7 & -14 \\
\end{matrix} \right]$
Replace ${{R}_{3}}\,\text{by}\,\frac{-1}{7}{{R}_{3}}$ to get,
$\left[ \begin{matrix}
1 & 0 & -3 & -2 \\
0 & 1 & 7 & 11 \\
0 & 0 & 1 & 2 \\
\end{matrix} \right]$
The system of equations for the above augmented matrix is,
$\left\{ \begin{align}
& x-3z=-2\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,.....\ \ (1) \\
& y+7z=11\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,.....(2) \\
& z=2\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,......\ \ \ (3)
\end{align} \right.$
Substitute the value of $z$ in equation $(2)$ to get,
$\begin{align}
& y+7z=11\, \\
& y+7\left( 2 \right)=11 \\
& y=11-14 \\
& y=-3
\end{align}$
Substitute value of $y,z\ \,\text{in}\ \,(1)$ to get,
$\begin{align}
& x-3z=-2 \\
& x-3\left( 2 \right)=-2 \\
& x=-2+6 \\
& x=4
\end{align}$
The solution of the provided linear system of equations is $\left\{ \left( 4,-3,2 \right) \right\}$.