If the pair of lines represented by the equation 6x2+17xy+12y2+22x+31y+20=0 be 2x+3y+p=0 and 3x+4y+q=0, then