Let’s assume,
The speed of the train be
The speed of the car
From the question, it’s understood that there are two parts
# Part 1: When Ramesh travels by train and the rest by car.
# Part 2: When Ramesh travels by train and the rest by car.
Part 1,
Time taken by Ramesh to travel by train [∵ time = distance/ speed]
Time taken by Ramesh to travel the remaining i.e., by car
So, the total time taken by Ramesh to cover
It’s given that,
Total time taken for this journey
So, by equations its
[on dividing previous equation by 8] …………………… (i)
Part 2,
Time taken by Ramesh to travel CD train
Time taken by Ramesh to travel CD
For this journey, it’s given that Ramesh will take a total of 8 hours and 12 minutes to finish.
………. (ii)
Solving (i) and (ii), we get the required solution
Let’s take and ,
So, (i) and (ii) becomes,
……….. (iii)
……. (iv)
On multiplying (iii) by and (iv) by ,
Subtracting the above two equations, we get
⇒
Using in (iii) to find v,
⇒
⇒
So, the speed of the train is and the speed of the car is .