Midpoint and Length of Segments