A boat covers 24 km upstream and 36 km downstream in 6 hours, while it covers 36 km upstream and 24