Which defines a line segment?
two rays with a common endpoint
a piece of a line with two endpoints
a piece of a line with one endpoint
all points equidistant from a given point
B. A piece of a line with two endpoints
