Here we can use the concept of Height and distance
so here we know that

angle of depression at the foot of the statue is 17 degree
angle of depression at the exit gate is 14 degree
So here the distance of foot of the statue is related as

so here we will have



similarly for exit gate the distance is given as



now the distance between gate and foot of statue is given as

