Explanation:
the center of the circle is the midpoint of the diameter.
and the radius is the distance of the midpoint to either endpoint (or simply half of the distance between the diameter endpoints).
the midpoint between points A and B
(xm, ym) = ((xa + xb)/2, (ya + yb)/2)
in our case the midpoint (center of the circle) is
((-6 + 2)/2, (10 + 3)/2) = (-4/2, 13/2) = (-2, 6.5)
about the radius
diameter² = (-6 - 2)² + (10 - 3)² = (-8)² + 7² = 64 + 49 =
= 113
diameter = sqrt(113) = 10.63014581...
radius = diameter / 2 = 5.315072906... ≈ 5.315