Answer
$x=-5$
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, the determinant is
$D=(x\cdot3)-(x\cdot4)\\
D=3x-4x\\
D=-x$
The determinant is $5$ therefore
$5=-x\\
-5=x$