A boy 1.5m tall is 15m away from a hut 24m high. What is the angle of elevation of the top of the hut

assuming you mean the angle from his eyes, and assuming they are on the top of his head, then draw a diagram, and you can easily see that

tanθ = (24-1.5)/15