Let the speed of the boat in still water be x km/h and the speed of the stream be y km/h.
Speed of boat upstream = x − y
Speed of boat downstream = x + y
It is given that, the boat travels 30 km upstream and 28 km downstream in 7 hours.
Also, the boat travels 21 km upstream and return in 5 hours.
Let .
So, the equation becomes
Multiplying (i) by 21 and (ii) by 30, we get
Solving (iii) and (iv), we get
and
But,
So,
Solving these two equations, we get
x = 10 and y = 4
So, the speed of boat in still water = 10 km/h and speed of stream = 4 km/h.