Let HK be the light house 300 m in height. Let A and B be the two ships, such that angles of depression LHA and MHB are respectively 30° and 45°. It follows that ∠HAK = 30° and ∠HBK = 45°.
Also, ∠KHB = 45°, and therefore, KB = HK = 300 m
Also, ∠AHK = 60°
From ΔHAK, we get, \(\frac{AK}{HK}\) = tan 60°
∴ AK = HK × tan 60° = 300 × 1.7321 = 519.63 m
∴ AB = AK + KB = 519.63 m + 300 m = 819.63 m.