Calculate the coordinates of the midpoint of a line segment given its two endpoints.
Formula
Midpoint = ((x1+x2)/2, (y1+y2)/2)