We are told the height and the angle of depression which the angle down from the horizontal. We have to find the angle between the depression and the height so that we can work out opposite given the angle and the adjacent height.

For the boat:

Angle between the depression and the height:

For the boat:

Angle between the depression and the height:

Therefore the distance between each boat is