You are not given enough info to find the times first.
"How fast was he driving between Ajax and Barrington" means you are asked to find the speed during that trip, so let's focus on that and label it with a variable S.
Since D=RT, T=D/R. Since R is given in mph, time is measured in hours.
Ajax to Barrington: T=120/S
Barrington to Collins takes 6 minutes longer: T+6/60 = 150/(S+10)
Now replace T in the second equation by 120/S
120/S + 0.1 = 150/(S+10)
Multiply everything by S(S+10)
120(S+10) +0.1S(S+10) =150 S
120S +1200+ 0.1S^2 +S=150 S
0.1S^2 -29S +1200=0
S^2-290S+12000=0
(S-50)(S-240)=0
S=50 or s= 240
50 mph for the trip between Ajax and Barrington
(the 240 mph value actually works but is an unlikely driving speed)
That also means that he was driving at 60mph for the second trip.
You can now directlt find the times to double check these values, but notice they were not
specifically required