Science:Math Exam Resources/Courses/MATH152/April 2013/Question A 04/Statement

Consider the matrix ${\displaystyle M}$ given by
${\displaystyle {\begin{bmatrix}1&7&3\\0&p&5\\1&pq+7&8\end{bmatrix}}.}$
For what ${\displaystyle p}$ and ${\displaystyle q}$ does the matrix ${\displaystyle M}$ have rank 2?