Find the distance between two points and their midpoint.
Distance = √((x2-x1)² + (y2-y1)²). Midpoint = ((x1+x2)/2, (y1+y2)/2).