A delivery driver makes a trip consisting of three equal-length segments. The driver travels at 10 kilometers per hour for the first segment, 20 kilometers per hour for the second, and 30 kilometers per hour for the third. Which of the following is closest to the driver's average speed, in kilometers per hour, for the entire trip?
15
16
17
18
19