Step 1 :\begin{vmatrix} x^2+y^2 & x & y & 1 \\ x_{1}^{2}+y_{1}^{2} & x_{1} & y_{1} & 1 \\ x_{2}^{2}+y_{2}^{2} & x_{2} & y_{2} & 1 \\ x_{3}^{2}+y_{3}^{2} & x_{3} & y_{3} & 1 \end{vmatrix}=0
Step 2 :x^{2}+y^{2}+2gx+2fy+c=0
Step 3 :2fx+2gy=-x^{2}-y^{2}-c