To Divide a Line Segment In a Given Ratio