Any circle through the intersection of given circles is S1 + λS2 = 0
or (x2 + y2 – 2x – 4y – 4) + l(x2 + y2 – 10x – 12y + 40 ) = 0
16(1 + 2λ + λ2) = 1 + 10λ + 25λ2 + 4 + 24λ + 36λ2 – 40λ 2 – 40λ + 4 + 4λ
or 16 + 32λ + 16λ2 = 21λ2 – 2λ + 9
or 5λ2 – 34λ – 7 = 0
∴ (λ – 7) (5λ + 1) = 0 ∴ λ = 7, – 1/5
Putting the values of λ in (i) the required circles are
2x2 + 2y2 – 18x – 22y + 69 = 0 and x2 + y2 – 2y – 15 = 0