Midpoint and Length of a Segment