Jennifer's horse moves with three basic gaits (ways to move forward): the four-beat walk with a speed of 6 km/h, the two-beat trot with a speed of 15 km/h, and the gallop with a speed of 30 km/h. During her daily ride, she went one hour at the four-beat walk, twenty minutes at the two-beat trot, and ten minutes at the gallop speed. How long, in km, was Jennifer's ride?