Let the circle through origin be
x2+y2+2gx+2fy=0
Condition of orthogonality gives
2gg1+2ff1=0+c1......(1)
2gg2+2ff2=0+c2....(2)
The given circle can be written as
2gx+2fy=−(x2+y2).....(3)
Eliminating the unknown quantities g and f from (1),(2) and (3), we get the result in determinant form.