1. Draw a sketch.

2. You are dealing actually with 3 right triangles. As the 1st step you can calculate the lengths of the sides of the grey triangle QFB:

3. Calculate the lengths of the sides of the yellow triangle PFB.

4. Triangle PQF is a right triangle too (why?). Since you know and you can calculate the length of .

5. Calculate the values of the angles and and then consequently the corresponding bearings.