The determinant of the left-hand matrix equals the determinant of the right-hand matrix. The determinant of a 2x2 matrix \( \left| \begin{matrix} a & b \\ c & d \end{matrix} \right| \) is calculated as \( ad - bc \). For the left-hand matrix \( \left| \begin{matrix} 2x & 5 \\ 12 & x \end{matrix} \right| \), the determinant is \( (2x)(x) - (12)(5) = 2x^2 - 60 \). For the right-hand matrix \( \left| \begin{matrix} 6 & -5 \\ 4 & 3 \end{matrix} \right| \), the determinant is \( (6)(3) - (4)(-5) = 18 + 20 = 38 \). Equating the determinants yields \( 2x^2 - 60 = 38 \). Solving for \( x \), we get \( 2x^2 = 38 + 60 = 98 \), which simplifies to \( x^2 = \frac{98}{2} = 49 \). Therefore, \( x = \pm 7 \).