4.1: Length of a line segment