In the figure to the right, OC=10, m

Answer:
Let AB be the flagstaff and CD be the vertical tower.
AB=10m=EC
BC=20m=AE
In triangle ABC we have,
tanx=AB/BC
tanx=10/20
1/tanx=20/10
10/tanx=20...........1
In triangle ADE we have
tan(90-x)=DE/AE
cotx=DE/20
1/cotx=20/DE
DE/cotx=20..............2
by eq1 and. eq 2 we get
10/tanx=DE/cotx
10/(AB/BC)=DE/(BC/AB)
10/(10/20)=DE/(20/10)
10×20/10=DE×10/20
DE=40m
Therefore height of vertical tower = DE+EC=40+10=50m