Consider the light house position is .
The light from a lighthouse can be seen from an radius, i.e
.
The two boats are and
.
Draw the diagram with above specifications.
\Consider triangle .
Law of sines : .
.
The sum of the angles in any triangle is .
The two angles are and
.
The remaining angle .
.
Consider triangle when the second boat enters into the radius of light house.
Since triangle is an isosceles triangle, therefore
.
And .
.
Therefore the distance between the two boats when the second boat enters into the radius of light house is i.e
.
The distance between the two boats is .