Respuesta :

Let A = (xa,ya) and B = (xb,yb) be any two given points

The general formula for the coordinates of the midpoint of AB is: x = (xa + xb)/2 and y = (ya + yb)/2

I