Question -
Answer -
Distance between A and B places = 100 km
Let the speed of first car (starting from A) = x km/hr
and speed of second car (starting from B) = y km/hr
In first case, when the cars travel in the same direction
Time when they meet = 5 hours
Distance travelled by first car in 5 hours = 5x km
and by second car = 5y = 5y km
5x – 5y = 100
=> x – y = 20 …(i)
In second case, when the cars travel in the opposite direction
Time when they meet = 1 hour
Distance travelled by first case = x x 1 = x km
and by second car = y x 1 = y km
x + y = 100 ……..(i)
Adding (i) and (ii)
2x = 120 => x = 60
Subtracting (i) from (ii)
2y = 80 => y = 40
Speed of first car = 60 km/hr and speed of second car = 40 km/hr