This is a question involving Non-right angled triangle trigonometry...

I hope you can help me solving this question.

Thanks,

Amine

A boat sailing from A to B travels in a straight line until the captain realises he is off course. The boat is turned through an angle of 60 degrees, and then travels another 10 km to B. The trip would have been 4 km shorter if the boat had gone straight from A to B. How far did the boat travel?