A man on the deck of a ship, which is 10m above the water level, observes that the angle of elevation of the top of a cliff is 45∘ and the angle of depression of the base of the cliff is 30∘. Calculate the distance of the cliff from the ship and the height of the cliff.