To answer this question we will use the following diagram as reference:
Notice that both triangles are similar, then:
[tex]\frac{\text{xft}}{6ft}=\frac{24ft}{8ft}\text{.}[/tex]Simplifying the above result we get:
[tex]\frac{x}{6}=3.[/tex]Multiplying the above result by 6 we get:
[tex]\begin{gathered} \frac{x}{6}\times6=3\times6, \\ x=18. \end{gathered}[/tex]Answer: 18 feet.