A coast-guard boat patrols off the coast of Gujarat. On its chart, the origin is a lighthouse, x increases towards the east, y increases towards the north, and 1 unit = 1 km.
The boat sails in a straight line from its base at to a buoy at . From the buoy it sails in a straight line to the port at .

How far does the boat sail in all?
