Question 897782
The midpoint is the average of the x and y values of the endpoints.
{{{x[m]=(x[M]+x[N])/2}}}
{{{x[m]=(2+2)/2}}}
{{{x[m]=4/2}}}
{{{x[m]=2}}}
.
.
.
{{{y[m]=(y[M]+y[N])/2}}}
{{{y[m]=(-5+9)/2}}}
{{{y[m]=4/2}}}
{{{y[m]=2}}}