Division of a Segment Internally and Externally