Carlos wants to measure the height of a tree. He sights the top of the tree, using a mirror that is lying flat on the ground. The mirror is 31 ft from the tree, and Carlos is standing 8.7 ft from the mirror, as shown in the figure. His eyes are 6 ft above the ground. How tall is the tree? Round your answer to the nearest foot. (The figure is not drawn to scale.)