If the pair of lines which joins the origin to the point of intersection of ax2+2hxy+by2+2gx=0, a1x2+2h1xy+b1y2+2g1x=0 are at right angles then
gg1=a1+b1a+b
gg1=a+ba1+b1
hh1=a+ba1+b1
hh1=a1+b1a+b
ax2+2hxy+by22g=a1x2+2h1xy+b1y22g1=-x⇒g1(ax2+2hxy+by2+2gx)
−g(a1x2+2h1xy+b1y2+2g1x)=0
coefficient of x2 + coefficient of y2 = 0
⇒g1(a+b)=g(a1+b1)