Let the speed of X and Y be x km/hr and y km/hr respectively. Then,
Time taken by X to cover 30km =30xhrs,
and, Time taken by Y to cover 30km =30yhrs
By the given conditions, we have
30x−30y=3⇒10x−10y=1 .(i)
If X doubles his pace, then speed of X is 2x km/hr
Times taken by X to cover 30 km =302xhrs
Times taken by Y to cover 30km =30yhrs
According to the given conditions, we have
30y−302x=112
⇒30y−302x=32
⇒10y−5x=12
⇒−10x+20y=1 .(ii)
Putting 1x=u and 1y=v, in equations (i) and (ii) we get
10u−10v=1⇒10u−10v−1=0 (iii)
−10u+20v=1⇒−10u+20v−1=0 (iv)
Adding equations (iii) and (iv), we get
10v−2=0⇒v=15
Putting v=15 in equation (iii), we get
10u−3=0⇒u=310
Now, u=310⇒1x=310⇒x=103 and, v=15⇒1y=15⇒y=5
Hence, X's speed =103 km/hr and, Y's speed =5 km/hr.