Two ships P&Q left port R at the same time . Q sailed on a bearing of 150° while P sailed ob a bearing of Q . After a distance of 8km and 10km by P&Q respectively their distance apart was 12km .Time the bearing of P from R

no idea what P sailed on a bearing of Q means.

But you can use the law of cosines to find the angle between the two headings.