13.58 miles and 10.47 miles
So, my interpretation of the geometry is the crude sketch above.
If this is correct, you can use the "law of sines" to solve the problem:
...the last ratio you can calculate, since you have all the data. It's
So you can calculate s1 (distance from ship to p1) as:
And s2 (distance from ship to p2) as: