Assuming the given scenario is a right angle triangle; (it helps to draw a diagram of the person and what they are seeing to better understand this question).
tanФ=opp/adj
tan(24)=(height of building)/280
280×tan(24)=height of building
124.66 m = height of building.
Hope I helped :)