As shadow is directly propotional to height, we can say that,
Height/Shadow `= k`, where k is a constant.
So, in case of electric pole,
`14/10 = k->(1)`
In case of tree,
`H_T/15 = k->(2)`, where `H_T` is height of tree
So, from (1) and (2),
`14/10 = H_T/15`
`H_T = 14**15/10 = 21m`
So, height of tree is `21` meters.