Answer
$\left[\begin{array}{ll}
1 & -1\\
2 & -1
\end{array}\right]\left[\begin{array}{l}
x\\
y
\end{array}\right]=\left[\begin{array}{l}
4\\
0
\end{array}\right]$
Work Step by Step
Define matrices
A is the coefficient matrix (left-hand sides of the equations)
X is the column matrix consisting of the unknowns ,
B is the column matrix consisting of the right-hand sides of the equations
$A=\left[\begin{array}{ll}
1 & -1\\
2 & -1
\end{array}\right],\quad X=\left[\begin{array}{l}
x\\
y
\end{array}\right] \quad B=\left[\begin{array}{l}
4\\
0
\end{array}\right]$
The given system of linear equations translates to AX=B
$\left[\begin{array}{ll}
1 & -1\\
2 & -1
\end{array}\right]\left[\begin{array}{l}
x\\
y
\end{array}\right]=\left[\begin{array}{l}
4\\
0
\end{array}\right]$