Given that \(P = \begin{pmatrix} 3 & 4 \\ 2 & x \end{pmatrix}; Q =…