A boat takes 2.70 hours to travel 40.0 km down a river, then 5.90 hours to return. How fast is the river flowing?