Let denote the speed of the ship, and let denote the duration of the trip. The magnitude of the displacement of this ship would be .
Refer to the diagram attached. The direction means west of south. Thus, start with the south direction and turn towards west (clockwise) by to find the direction of the displacement of the ship.
The hypothenuse of the right triangle in this diagram represents the displacement of the ship, with a length of . The dashed horizontal line segment represents the distance that the ship has travelled to the west (which this question is asking for.) The angle opposite to that line segment is exactly .
Since the hypotenuse is of length , the dashed line segment opposite to the vertex would have a length of: