Evaluate \(\begin{vmatrix}-1 & -1 & -1\\3 & 1 & -1\\1 & 2 & 1\end{vmatrix}\)