Points (3, –1) and (6, 1) lie on the line represented by the equation px + qy = 9, find the values of p and q.