# Shifting Gears

A puzzle by French puzzle maven Pierre Berloquin:

Timothy rides a bicycle on a road that has four parts of equal length.

The first fourth is level, and he pedals at 10 kph.

The second fourth is uphill, and he pedals at 5 kph.

The third fourth is downhill, and he rides at 30 kph.

The fourth fourth is level again, but he has the wind at his back, so he goes 15 kph.

What is his average speed?