If a tangents drawn through a point (x1,y1) circles S, then the equation of pair of tangents is SS1=T2. Let S=x2+y2+2gx+2fy+c=0
The tangents are drawn through the origin (0, 0) to the circle is SS1=T2 ⇒(x2+y2+2gx+2fy+c)c =(gx+fy+c)2 ⇒c(x2+y2)=(gx+fy)2