Andy was rowing a boat upstream. As he passed under a low bridge, his hat was knocked off, but Andy only noticed his hat missing ten minutes later. He turned his boat around immediately and rowed with the same effort downstream, fishing his hat out of the water at a point exactly one km downstream from the offending bridge. How fast was the current flowing?