Find values of x, if
(i) $\left|\begin{array}{ll}2 & 4 \\ 5 & 1\end{array}\right|=\left|\begin{array}{cc}2 x & 4 \\ 6 & x\end{array}\right|$
(ii) $\left|\begin{array}{ll}2 & 3 \\ 4 & 5\end{array}\right|=\left|\begin{array}{cc}x & 3 \\ 2 x & 5\end{array}\right|$
(i) $\left|\begin{array}{ll}2 & 4 \\ 5 & 1\end{array}\right|=\left|\begin{array}{cc}2 x & 4 \\ 6 & x\end{array}\right|$
$\Rightarrow 2 \times 1-5 \times 4=2 x \times x-6 \times 4$
$\Rightarrow 2-20=2 x^{2}-24$
$\Rightarrow 2 x^{2}=6$
$\Rightarrow x^{2}=3$
$\Rightarrow x=\pm \sqrt{3}$
(ii) $\left|\begin{array}{ll}2 & 3 \\ 4 & 5\end{array}\right|=\left|\begin{array}{cc}x & 3 \\ 2 x & 5\end{array}\right|$
$\Rightarrow 2 \times 5-3 \times 4=x \times 5-3 \times 2 x$
$\Rightarrow 10-12=5 x-6 x$
$\Rightarrow-2=-x$
$\Rightarrow x=2$