The equation of a circle: [tex](x-h)^2+(y-k)^2=r^2[/tex] (h,k) - the coordinates of the centre r - the radius
The midpoint of the diameter is the centre of a circle. The coordinates of the midpoint: [tex](\frac{x_1+x_2}{2}, \frac{y_1+y_2}{2})[/tex] (x₁,y₁), (x₂,y₂) - the coordinates of endpoints