A train traveling at 36 km/hr takes 48 seconds to cross a bridge. It then crosses a man cycling at the rate of 9 km/hr in the same direction in 20 seconds. Find the length of the bridge.