#### Answer

$$
\left[
\begin{array}{ccc|c}
1 & -2 & 1 & 10 \\
3 & 1 & 0 & 5 \\
7 & 0 & 2 & 2 \\
\end{array}
\right]
$$

#### Work Step by Step

The coefficients in the first equation are 1,-2,1. These numbers become the entries in the first row of the matrix on the left of the vertical.
The coefficients in the second equation are 3,1,0. These numbers become the entries in the second row of the matrix on the left of the vertical.
The coefficients in the third equation are 7,0,2. These numbers become the entries in the third row of the matrix on the left of the vertical.
The entries on the right side of the vertical are the numbers on the right side of each of the equations.
$$
\left[
\begin{array}{ccc|c}
1 & -2 & 1 & 10 \\
3 & 1 & 0 & 5 \\
7 & 0 & 2 & 2 \\
\end{array}
\right]
$$