Final answer:
The length of the line segment is 5 units.
Step-by-step explanation:
To find the length of a line segment with endpoints (-3, 5) and (1, 8), we can use the distance formula. The distance formula is:
d = sqrt((x2 - x1)^2 + (y2 - y1)^2)
Let's substitute the values from the given endpoints into the formula:
d = sqrt((1 - (-3))^2 + (8 - 5)^2)
d = sqrt((4)^2 + (3)^2)
d = sqrt(16 + 9)
d = sqrt(25)
d = 5