Consider the dual:
$$\min z' = 12y_1 +7y_2 + 10y_3$$
s.t.
$$\begin{bmatrix}
3 & 1 & 2\\
1 & 3 & 1\\
1 & 2 & 3\\
4 & 3 & -1
\end{bmatrix}\begin{bmatrix}
y_1\\
y_2\\
y_3
\end{bmatrix} \ge \begin{bmatrix}
2\\
4\\
3\\
1
\end{bmatrix}$$
Since the dual of the dual is the primal, the dual of the dual variables are the primal variables.
Using complementary slackness on the dual, we have:
$$x_1 \mathcal{S}_1 = 0$$
$$x_2 \mathcal{S}_2 = 0$$
$$x_3 \mathcal{S}_3 = 0$$
$$x_4 \mathcal{S}_4 = 0$$
$$\because x_2, x_4 > 0, \mathcal{S}_2 = \mathcal{S}_4 = 0$$
Thus,
$$\begin{bmatrix}
1 & 3 & 1\\
4 & 3 & -1
\end{bmatrix}\begin{bmatrix}
y_1\\
y_2\\
y_3
\end{bmatrix} = \begin{bmatrix}
0\\
0
\end{bmatrix}$$
$$\to \begin{bmatrix}
1 & 3 & 1\\
4 & 3 & -1
\end{bmatrix}\begin{bmatrix}
y_1\\
0\\
y_3
\end{bmatrix} = \begin{bmatrix}
0\\
0
\end{bmatrix}$$
$$\to \begin{bmatrix}
1 & 1\\
4 & -1
\end{bmatrix}\begin{bmatrix}
y_1\\
y_3
\end{bmatrix} = \begin{bmatrix}
0\\
0
\end{bmatrix}$$
$$\to y_1 = 1, y_3 = 3$$