Let C be the midpoint of the line segment joining (6,8) and (2,4).
We know that the coordinates of the midpoint of the line segment joining (x1,y1) and (x2,y2) are:
P(x,y)=(x1+x22,y1+y22)