Find the Length of a Line Segment Using Pythagorean Theorem