Division of a line segment