Question 12312
You are given 2 points.

Length is simply the distance between the 2 points
This can be found by D^2 = (X2-X1)^2 + (Y2-Y1)^2

Mid point is given by (X1+X2)/2,(Y1+Y2)/2

Can you solve this?