Does the same determinant make two matrices equal to each other? Does the same determinant make two matrices equal to each other?

If I have:

Find all values of $x$ that make
$$\begin{pmatrix}2 &amp; -1 &amp;4\\3 &amp; 0 &amp; 5\\4 &amp; 1 &amp; 6\end{pmatrix}=\begin{pmatrix} x &amp; 4\\5 &amp; x\end{pmatrix} $$

Would I calculate and equate the determinants of both matrices to solve this problem?
Edit: Below is the exact question. Do the style of brackets refer to the determinants?
That style of brackets usually refers to the matrix itself, rather than the determinant. The question either uses an unusual style, or is in error.
It is customary to use square brackets $[\ddots]$ to refer to the matrix as a matrix.  It is also customary to use  vertical bars $|\ddots|$ to refer to the determinant of the matrix.

It is not customary to use ordinary brackets $(\ddots)$ for anything.

However, mathematicians are fond of making their own notation.  So, look in your text book and/or your lecture notes to see how they define this.

Matrices are equal to each other only if they are the same size and every member is equal to the member in the same place.  So, in this case there are no solutions.

Determinants are just numbers and can be equal even if the matrices are not.

Since schools like to give exercises which actually have solutions, they are most likely to be talking about determinants, but it can possibly be a trick question.