The shadow of a tower standing on a level ground is found to be 40 m longer when the sun’s altitude is 30∘ than when it is 60∘. Find the height of the tower.