If \(M \times M = QM\), then either \(M = 5\), \(Q = 2\) or \(M = 3\), \(Q = 4\).