Find the midpoint and the distance of each line segment with the given endpoints.