1) Consider two points on the number line. As an example, let's take points x=0 and x=2. It is obvious, that the midpoint coordinate is x=1;
2) What if we have x=4 and x=9, for example? Again, the midpoint is x=6.5, since its distance from both points is the same. Indeed, |4-6.5|=|-2.5|=2.5 and |9-6.5|=|2.5|=2.5. Remember, distance is the absolute value of the difference between x-coordinates of the first and the second point.
3) Can we find a formula to obtain the x-coordinate of the midpoint? Let us try.
Let the first point be x1 and the second be x2. Let the midpoint be xm. Without losing any generality, let us assume x1<x2. Then x1<xm<x2, since midpoint shall be between two points. We know that distance from midpoint to each of two points is the same. This means that:
xm-x1=x2-xm; Solve for xm,
So the coordinate of a midpoint is just the average of two coordinates.
Now, we can generalize. If we consider two points on the plane, with coordinates (x1,y1) and (x2,y2), it is natural to suggest that the coordinates of a midpoint will be given by the average of respective y- and x-coordinates of endpoints. So, we suggest that:
And this is indeed the case. So in your example,
As a matter of fact, this can be generalized for 3-dimensional case and for any number of dimensions.