The height of the pole and the building are 27.1 meters and 97.8 meters respectively.
The situation forms a right angle triangle. The height of the building can be found using trigonometric ratios,
Therefore,
tan 34 = opposite / adjacent
tan 34 = h / 145
h = 145 tan 34
h = 145 × 0.67450851684
h = 97.8037349422
Therefore,
height of the building = 97.8 meters
tan 26 = x / 145
x = 145 tan 26
x = 70.721225342 meters
Therefore,
height of the flagpole = 97.8 - 70.7 = 27.1 meters
learn more on right triangle here: https://brainly.com/question/15322533
#SPJ1