At the same time, the sun casts a shadow on the girl and tree creating two similar right triangles. You can use a ratio of girl's height to her shadow will be the same as the tree's height to it's shadow.
5 / 2.5 = T / 14.5 2 = T / 14.5 2 * 14.5 = T 29 ft = Tree