Answer:
2nd option
Explanation:
the equation of a circle in standard form is
(x - h)² + (y - k)² = r²
where (h, k ) are the coordinates of the centre and r is the radius
the centre is at the midpoint of the endpoints of the diameter.
The coordinates of the centre is the average of the coordinates of the endpoints.
centre = (
,
) = (
,
) = (- 1, 3 )
the radius is the distance from the centre to either of the endpoints
using the distance formula to calculate r
r =

with (x₁, y₁ ) = (- 1, 3 ) and (x₂, y₂ ) = (2, - 1 )
r =

=

=

=

=

= 5
then equation of circle is
(x - (- 1) )² + (y - 3)² = 5² , that is
(x + 1)² + (y - 3)² = 25