A person swims from bank A of a river to the other bank B in shortest time. In doing so, he takes 5 minutes and travels an actual distance 1 km. Now he swims from bank B to A along shortest path and travels an actual distance 800m. Speed of water (river) is