Find the determinant of M=(211121112)M = \begin{pmatrix} 2 & 1 & 1 \\ 1 & 2 & 1 \\ 1 & 1 & 2 \end{pmatrix}M=211121112 by expanding along the first row using cofactors.
4
6
8
10