Which defines a linesegment?
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