Answer
$x=-1$ or $x=1$
Work Step by Step
We know that for a matrix
\[
\left[\begin{array}{rr}
a & b \\
c &d \\
\end{array} \right]
\]
the determinant, $D=ad-bc.$
Hence, here we have
\begin{align*}
D&=(x\cdot x)-(1\cdot3)\\
D&=x^2-3\\
-2&=x^2-3\\
-2+3&=x^2\\
1&=x^2\\
\pm\sqrt{1}&=\sqrt{x^2}\\
\pm1&=x\end{align*}