You can put this solution on YOUR website! Given the endpoints (7,3) and (2,1)
.
The x value of the midpoint is halfway between the x value of the two endpoints. That means
that it is halfway between +7 and +2. You can get this x value by averaging the x values
of the endpoints ... adding them together and dividing by 2. Averaging them:
.
.
Similarly the y value of the midpoint can be found by averaging the y values of the two
endpoints. The y values of the endpoints are +3 and +1 and averaging them results in:
.
.
So the point that is the midpoint is defined by the two values as being (4.5, 2).
.
Hope this helps you to see how to work midpoint problems if you are given the two endpoints
of a line.