If the curves x2+py2=1 and qx2+y2=1 are orthogonal to each other then
p−q=2
1p−1q=2
1p+1q=−2
1p+1q=2
Solving the two equations
x2y2=p−1q−1−−−−−−−(1) m1.m2=−1⇒x2y2.qp=−1 ⇒1p+1q=2