Two ports A and B are located on opposite banks of a river of width 800m. Port B is 600m downstream from the point directly opposite A. A boat travels from A to B in a straight line relative to the ground. If the river speed is 3m/s and the boat speed in still water is 5m/s, find the time taken for the crossing.