Question 413824
Just find the relative speeds by adding the two speeds,in this case 50km/hr and 40km/hr.  This gives you that they are travelling towards each other at 90km/hr.

Now use the equation for speed time and distance:

distance = speed * time
time = distance/speed
=360/90
=4 hrs