If the equation 12x2+7xy−py2−18x+qy+6=0 represents two perpendicular lines, then the value of p and q are?