Angles of elevation and depression

X and Y are two towns. If the horizontal distance

between them is 10 km and the angle of depression of Y

from X is 7ْ calculate:

i) the shortest distance between the two towns ,

ii) the vertical height between the towns.

anyone who can solve these problem

and explain it

plz help me