A Christmas tree is supported by a wire that is 9 meters longer than the height of the tree. The wire is anchored at a point whose distance from the base of the tree is 23 meters shorter than the height of the tree. What is the height of the tree?