The one thing that wasn't clear at the outset (but now I see how I misinterpreted the question) is that Phil never makes it to the end of the running track.
Andrew makes it to the END of this running track of Unknown Distance in 2 hours.
Andrew then turns around and Meets Phil 10 km from where they started.
This means, in total, Phil must have ONLY traveled 10 km from the beginning.
(I was working the Problem thinking that somehow Phil made it to the End of the running track, then turned around trying to catch up to Andrew ---- WRONG)
Let Speed of Phil = 2x
Let Speed of Andrew = 5x
in 2 hours, we can use the Ratio Speeds to determine the Distance each traveled because over a CONSTANT 2 hours: Speed is Directly Proportional to Distance Traveled.
Andrew covers the ENTIRE Distance of the running track. We'll call this Distance of the running track = (Speed of Andrew) * (2 hours) = 5x * 2 = 10x DISTANCE
in the Same 2 hours,
Distance PHIL Covers = 2x * (2 hours) = 4x DISTANCE
This means that at the END of the 2 hours:
Andrew is at the end of the running track having covered 10x Dist.
Phil only covered 4x Dist. from the Starting Point.
GAP Distance between them = 10x - 4x = 6x "Gap" Distance that Each must cover as they Run towards each other in Opposite Directions.
However, now Andrew's Speed is (1/5)th of his Prior Speed: (5x) * (1/5) = 1x Speed of Andrew (in Ratio Units)
Time = ("Gap" Distance between them) / (Speed of Phil + NEW Speed of Andrew) = 6x / (2x + 1x) = 2 hours
(Lastly) Calculate the Distance Phil traveled and the Time it took him to do so
From above, it is explained how Phil only traveled 10 km away from the Starting Point when Andrew turns around to meet him.
Phil covered this 10 km in:
(1st) he ran for 2 hours when Andrew made it to the end of the running track
+
(2nd) he ran for ANOTHER 2 hours when he met Andrew again when Andrew turned around
_______________________________
4 hours
Actual Speed of Phil = (10 km) / (4 hours) = 2.5 km/h
-C-