x2a2+y2b2=1
Let the point P be (h,k)
Equation of tangent in slope form is y=mx±√a2m2+b2
It passes through (h,k)
k=mh±√a2m2+b2k−mh=±√a2m2+b2
Squaring both sides
k2+m2h2−2hkm=a2m2+b2(h2−a2)m2−2hkm+k2−b2=0
Sum of roots =m1+m2=−ba=2hkh2−a2........(i)
tanθ1+tanθ2=cm1+m2=c
Substituting (i)
2hkh2−a2=cch2−ca2=2hkch2−2hk=ca2
Replacing h by x and k by y
cx2−2xy=ca2
is the required locus.