Midpoint and Length of Line Segment