I didn't know how to evaluate $$4A-\begin{bmatrix} 2 &-2 \\ 0 & 2 \end{bmatrix}A$$
and so I looked in the solutions, and what they did was they rewrote $4A$ as
$$\begin{bmatrix} 4 &0 \\ 0 & 4 \end{bmatrix}A-\begin{bmatrix} 2 &-2 \\ 0 & 2 \end{bmatrix}A$$
Is this allowed? Why does this work?