Let the height of the pole be h and the distance between the pole and tower be x.
It can be observed that,
tan60∘=50x
√3=50x
x=50√3
And,
tan45∘=50−hx
1=50−hx
50−h=x
50−h=50√3
h=50−50√3
h=50(√3−1)√3
h=21.1m
Therefore, the height of the pole is 21.1m.