Let us try to represent the question as an image.
From the diagram, we can get a triangle by considering the tree and shadow, such that
The angle x° is the angle of elevation of the sun,
To find the angle x°, we will use one of the Trigonometric Ratios, in this case, the Tan ratio.
Hence,
[tex]\tan x=\frac{opp}{adj}[/tex]where
opp = 12 yards
adj = 15 yards
Substituting,
[tex]\begin{gathered} \tan x=\frac{12}{15} \\ \tan x=0.8 \\ x=\tan ^{-1}0.8 \\ x=38.66^{\circ} \end{gathered}[/tex]The angle of elevation of the sun, to the nearest degree, is 39°