If two circles which pass through the points (0, a) and (0, -a) cut each other orthogonally and touch the straight line y=mx+c, then
c2=a2(2+m2)
Equation of a family of circles through (0,a) and (0,−a) is x2+y2+2λax−a2=0. If two members are for λ=λ1 and λ=λ2 then since they intersect orthogonally 2λ1λ2a2=−2a2⇒λ1λ2=−1
Since the two circles touch the line y=mx+c
[−λam+c√1+m2]=λ2a2+a2⇒a2λ2+2mcaλ−c2+a2(1+m2)=0⇒a2(1+m2)−c2=−a2⇒c2=(2+m2)a2