Solution
Lighthouse B is 8 miles from lighthouse A,
The diagram below shows the representation of the details of the question
Let x represents the distance of the boat from B
To find x, we use the cosine rule which is
Where
Substitute the values into the formula above
Solving for x, using the quadratic formula
Where
Substitute the values of a, b and c into the formula above
The values of x will be
The values of x are
Hence, the boat is either 12.2 miles or 2.3 miles (nearest tenth) from lighthouse B.