A 3rd order square matrix M satisfies \( M \begin{pmatrix} 1 & 1 & 0 \\ 0 & 1 & 1 \\ 0 & 2 & 1 \end{pmatrix} = \begin{pmatrix} 0 & 0 & 0 \\ 1 & 1 & 0 \\ 0 & 2 & 1 \end{pmatrix} \) and \( M \begin{pmatrix} 0 & -1 \\ 1 & 2 \\ 2 & 1 \end{pmatrix} = \begin{pmatrix} 1 & 1 \\ 2 & 1 \end{pmatrix} \). If \( M \begin{pmatrix} x \\ y \\ z \end{pmatrix} = \begin{pmatrix} 2 \\ 4 \\ 7 \end{pmatrix} \), then \( x + y + z \) is:
Show Hint
If \( MA = B \), and you need to find \( M\vec{x} \), check if \( \vec{x} \) can be written as \( A\vec{k} \). If so, \( M\vec{x} = M(A\vec{k}) = (MA)\vec{k} = B\vec{k} \).