The opposite sides of a rectangle are equal. The diagram of the triangular garden is shown below:
The diagonal divides the garden into two equal parts. We would determine the length of the diagonal, d. We would apply pythagoras theorem which is expressed as
hypotenuse^2 = opposite side^2 + adjacent side^2
![\begin{gathered} d^2=24^2+14^2 \\ d^2=576\text{ + 196 = 772} \\ d\text{ = }\sqrt[]{772\text{ }} \\ d\text{ = 27.79} \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/college/exuxfjq2rkx03zyzjo9bu6lyku4ap31r43.png)
27.79 feet of fence is needed