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