To do this question, you use the pythag theorem, a^2 + b^2 = c^2. You have the hypotenuse of the triangle, 40 feet in length, and you have a because it's 8 feet from the wall. You now have b^2 = 1600-64. b^2 = 1536. Take the square root, and you have the height of the latter on the wall is equal to 39.1918 or 39.2 rounded