http://math.about.com/od/geometry/ss/linessegments_3.htm
You can ask a new question or answer this question.