Answer: 24°
Explanation:
You have the opposite, the height of the building and the adjacent, the distance from the base of the building. Opposite and adjacent mean you have to use tangent. SOHCAHTOA
Take the inverse tangent on both sides
tan(Ф) = 40/90
Ф = 24°