Question 316876
Use the distance formula,
{{{D^2=(x2-x1)^2+(y2-y1)^2}}}
{{{D^2=(4-2)^2+(1-7)^2}}}
{{{D^2=4+36}}}
{{{D^2=40}}}
{{{D=2sqrt(10)}}}
.
.
.
Use the midpoint formula,
{{{xm=(2+4)/2=3}}}
{{{ym=(7+1)/2=4}}}
({{{3}}},{{{4}}})
.
.
.
{{{drawing(300,300, -2,6,-2,8, circle(3,4,.2),circle(2,7,.2),circle(4,1,.2),blue(line(2,7,4,1)),grid(1),graph(300,300, -2,6,-2,8, 0))}}}