Imagine the situation described as a triangle.
They are asking to find the height h, to do this, you can use the sine and the length of the sliding board.
[tex]\begin{gathered} \sin 40=\frac{h}{15} \\ \sin 40\cdot15=h \\ 0.6428\cdot15=h \\ h=9.642\approx9.6 \end{gathered}[/tex]The height of the ladder is 9.6 feet.