A tree breaks due to storm and the broken part bends so that the top of the tree touches the ground making an angle 30∘ with it. The distance between the foot of the tree to the point where the top touches the ground is 9 m. Find the height of the tree.