It won't ever overtake the first plane because to overtake it, it
would have to go faster than the plane its chasing, not the same speed.
You copied the problem wrong and put the same speed 800mph for both planes.
Post again with the correct speeds.
Edwin