A boatman goes $2$ km against the current of the stream in $1$ hour and goes $1$ km along the current in $10$ minutes. How long will it take to go $5$ km in stationary water?