Solution:Let the length of train ‘P’ = ‘d’ metres
Then, speed of train ‘P’ between cities ‘A’ and ‘B’ = (d/32) m/s
Speed of train ‘P’ between cities ‘B’ and ‘C’ = {(d + 100)/48} m/s
Let the distance between city ‘A’ and ‘B’ = ‘x’ metres
Let the distance between cities ‘B’ and ‘C’ = ‘y’ metres
According to the question,
(x − 4):(y + 10) = 8:7
7x − 28 = 8y + 80
8y = 7x − 108
Also, (x + y) = 594
y = (594 − x)
So, 8y = 4752 − 8x = 7x − 108
4860 = 15x
So, x = 4860 ÷ 15 = 324
So, distance between cities ‘A’ and ‘B’ and between cities ‘B’ and ‘C’ are 324 km and 270 km, respectively.
So, ratio of distance between cities ‘A’ and ‘B’ and that between cities ‘B’ and ‘C’ = 324:270 = 6:5
Ratio of time taken by train ‘P’ to travel between cities ‘A’ and ‘B’ and that between cities ‘B’ and ‘C’ = 9:10
So, ratio of speed of train ‘P’ when travelling between cities ‘A’ and ‘B’ and that between cities ‘B’ and ‘C’ = (6/9):(5/10) = 4:3
So, (d/32):{(d + 100)/48} = 4:3
(d/128) = {(d + 100)/144}
144d = 128d + 12800
So, d = 12800 ÷ 16 = 800
So, length of train ‘P’ = d = 800 metres
So, speed of train ‘P’ while travelling from city ‘A’ to ‘B’ = (800/32) = 25 m/s = (25 × 18/5) = 90 km/h
Time taken to travel from ‘A’ to ‘B’ (consider length of the train as negligible) = 324 ÷ 90 = 3.6 hours
Speed of train ‘P’ while travelling from city ‘B’ to city ‘C’ = 90 × (3/4) = 67.5 km/h
Time taken to travel from city ‘B’ to ‘C’ (consider length of the train as negligible) = 3.6 ÷ 0.9 = 4 hours
Length of train ‘Q’ = 800 + 272 = 1072 metres
According to the question,
Relative speed of train ‘Q’ with respect to train ‘P’ = (800 + 1072) ÷ 36 = 52 m/s
So, speed of train ‘Q’ = 52 − 25 = 27 m/s
Hence, option a.