given a circle with (5,1) and (3,-1) as the endpoint of the diameter

1 answer

centre is the midpoint of the diameter, so
(4,0)

equation: (x-4)^2 + y^2 = r^2
plug in (5,1) to find r^2

all done!