A ship sails at $20$ kilometres/hour in a straight line which is, at its closest, 1 kilometre from a port. A tug-boat with maximum speed 12 kilometres/hour leaves the port and intercepts the ship, leaving the port at the latest possible time for which the interception is still possible. How far does the tug-boat travel?