The correct option is B p=2,q=3
The angle between the pair of lines ax2+2hxy+by2+2gx+2fy+c=0 is same as the angle between the lines ax2+2hxy+by2=0 .
Angle between lines is given by tanθ=2√h2−aba+b
Given,Lines are mutually perpendicular to each other,then we get a+b=0
which gives p=2 and q=3.