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