Let speed of water current be x km/h
∴ Speed downstream = (10 + x) km/h.
Speed upstream = (10 - x) km/h
According to the question,
24/(10 + x) + 24/(10 - x) = 5
⇒ 24[10 - x + 10 + x] = 5(102 - x2)
⇒ 100 - x2 = (24 x 20) / 5
⇒ 100 - x2 = 96
⇒ x2 = 4
⇒ x = √4 = 2km/h