For what value of $x$, the given matrix $A=\left[\begin{array}{cc}3-2 x & x+1 \\ 2 & 4\end{array}\right]$ is a singular matrix?