Let CD and AB be the poles of height 11 m and 6 m.
Then, its seen that CP = 11 – 6 = 5 m.
From the figure, AP should be 12 m (given)
In triangle APC, by applying Pythagoras theorem, we have
AP2 + PC2 = AC2
122 + 52 = AC2
AC2 = 144 + 25 = 169
∴ AC = 13 (by taking sq. root on both sides)
Thus, the distance between their tops = 13 m.