I think the image above will help you.
Formula for mid point is x2+x1/2,y1+y2/2
9.5m questions
12.2m answers