Line Segment Formula