Well, maybe you don't need a Nobel prize to do that, but since the airplanes follow differet paths, the distance calculation between both airplanes involves not only distance and time, but also trayectory.
Could it be useful to use polar coordinates, instead of cartesian ones? With the origin in the point where both turns start?
The problem is I don't remember how to translate cartesian into polar nor the opposite.