The height of the tree and its shadow, and the height of the person and its shadow, at the same time of the day, form two similar right triangles:
Since both triangles are similar, then the corresponding sides are at the same ratio so that:
![\begin{gathered} \frac{\text{height tree}}{\text{height person}}=\frac{shadow\text{ tree}}{shadow\text{ person}} \\ (x)/(5)=(24)/(8) \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/high-school/eyqiq5wynzqys0fh0ejelo9n0fn463zpfo.png)
From this expression, you can determine the height of the tree, just multiply both sides of the equal sign by 5:
![\begin{gathered} 5\cdot(x)/(5)=5\cdot(24)/(8) \\ x=5\cdot3 \\ x=15ft \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/high-school/4zeyboxun12e4h3pgcy9fvh1unmqejmrqf.png)
The height of the tree is 15 feet.