1. Draw a sketch.

2. You are dealing with a right triangle whose legs are and . Use Pythagorean theorem to calculate the distance between port and the position after the 3 hours journey:

3. Calculate the angle at P in the right triangle. Use the tan-function:

Add this angle to the initial bearing to get the final bearing :