Xavier drove for 30 minutes, then spent 2 hours shopping, then drove for 15 minutes and stopped at a friend's house for 1 hour. The total distance he traveled by car is a function of time. Which graph most accurately represents this scenario?