Let AB be the tower of height h meters and C and D are two objects which arey meter apart
Then,
AB=hmeter
BC=xmeter
CD=ymeter
Then,
InΔABC,
tanα=ABBC
tanα=hx
x=htanα.......(1)
Now, InΔABDtanβ=hx+y
h=(x+y)tanβ
h=xtanβ+ytanβ.......(2)
By equation (1) and we get,
h=ytanβ+htanβtanα
h−htanβtanα=ytanβ
h(1−tanβtanα)=ytanβ
h(tanα−tanβtanα)=ytanβ
h=ytanαtanβtanα−tanβ
h=CDtanαtanβtanα−tanβ
Hence, this is the answer.