Encontre o valor de x.

[tex]\left[\begin{array}{ccc}2&x&x\\1&2&1\\3&1&2\end{array}\right] =12[/tex]