Let AB is the tower of height h meter and AC is flagstaff of height x meter.
∠APB=45o and ∠BPC=60o
tan60o=x+h120
√3=x+h120
x=120√3−h
tan45o=h120
1=h120
h = 120
Substitute the value of h in x,
x=120√3−120
x=120(√3−1)
x=120(1.73−1)
x=87.6m
Therefore the height of the flagstaff = 87.6m