The bearings of ships A and B from a port P are 225° and 116° respectively. Ship A is 3.9km from ship B on a bearing of 258°.
Calculate the distance of ship A from P.

Please show workings and diagrams.​