Two straight lines have equations y = px + 4 and py = qx – 7, where p and q are constants.
The two lines meet at the point (3, 1).
What is the value of q?