Given that \(p = \begin{bmatrix} x&4\\3&7\end{bmatrix} Q =\begin{bmatrix} x&3\\1&2x\end{bmatrix}\) and the determinant of \(Q\) is…