If A(x1,y1),B(x2,y2) are endpoints of diameter then equation of circle is given by
(x−x1)(x−x2)+(y−y1)(y–y2)=0
Given A=(−3,9),B=(9,−1)
(x+3)(x−9)+(y−9)(y+1)=0
⟹x2−6x–27+y2–8y–9=0
(x−3)2–36+(y−4)2–25=0
(x−3)2+(y−4)2=61