A vertical tree is growing on the side of a hill with gradient 10 degrees to the horizontal. From a point 50 m downhill from the tree, the angle of elevation to the top of the tree is 18 degrees. Find the height of the tree.