For the first boat,
Speed of stream : Speed of boat = 2: 5
Let speed of stream be 2x km/h and speed of boat = 5x km/h
Similarly, for the second boat
Speed of stream be 3y km/h and speed of boat = 4y
In both of the conditions, river is same.
∴ 2x = 3y
⇒ x = 3y/2
Thus, required ratio in speeds of boats in still water
= Thus, required ratio in speeds of boats in still water
= 5x : 4y = (5 x 3)y/2 : 4y = 15 : 8