I have no idea how to solve this: A man standing on a lighthouse of height 162 ft sights two boats directly in front of him. One is at an angle of depression of 50°, and the other is at an angle of depression of 45°. Identify the distance between the two boats rounded to the nearest foot.