The graph shows the distance Liam traveled from school in miles (y) as a function of time in seconds (x). The graph is divided into four segments labeled P, Q, R, and S, respectively.

Graph shows 4 segments. Segment P is a horizontal straight line. Segment Q is a slanting straight line going up. Segment R is a slanting line going up. Segment S is a slanting straight line going down that touches the x-axis.
Which segment shows Liam waiting for a cab? (5 points)

P

Q

R

S

The segment that shows Liam waiting for a cab is segment R.