Let the speed of the sailor in still water be x km/h and that of the current y km/h.
Speed downstream = (x + y) km/h
Speed upstream = (x − y) km/h
As per the question
When the sailor goes upstream, then
Adding (i) and (ii), we get
Putting x = 10 in (i), we have
Hence, the speeds of the sailor in staill water and the current are 10 km/h and 2 km/h respectively.