Let the equation of the circle is - x2+y2+2gx+2fy+c=0.....(1)
which touches the line ℓx+my+n=0 ∴∣∣ℓ2+m2−ℓg−mf+n∣∣=g2+f2−c.......(2)
and circle (1) is orthogonal to the circle x2+y2=9 ∴0g+0f=c−9 ⇒c=9..........(3)
from (2) & (3) ∣∣ℓ2+m2−ℓg−mf+n∣∣=g2+f2−9 ∴ locus of (−g,−f) is (ℓx+my+n)2=(x2+y2−9)(ℓ2+m2)