2. Define the time "zero" when the second airplane is exactly over the airport. Then the first airplane has the position
3. In general: The positions of the airplanes can be calculated by:
4. Now use the distance formula with these two positions.
5. I'll leave the rest for you.