Remember that a line segment is the portion of a straight line that directly connects two given points. Unlike a line, it does not extend off to infinity in both directions. To find the length, we just use the distance formula between the two points provided. For lessons like this, often the easiest way to learn is by working out an example