Answer:
initial height of plane a 2mi
height of plan b after 40 sec 1mi
20sec they fly at the same height