Question 879963

The midpoint is the average of the x values and y values of A and B.
{{{(x[a]+x[b])/2=x[m]}}}
{{{(2+x[b])/2=4}}}
{{{2+x[b]=8}}}
{{{x[b]=6}}}
.
.
{{{(y[a]+y[b])/2=y[m]}}}
{{{(7+y[b])/2=2}}}
{{{7+y[b]=4}}}
{{{y[b]=-3}}}
.
.
.
{{{drawing(300,300,-2,10,-4,8,grid(1),circle(4,2,0.4),circle(6,-3,0.2),circle(2,7,0.2),blue(line(2,7,6,-3)))}}}