Speed of boat in still water = x
Speed of current = y
Upstream speed = x - y
Downstream speed = x + y
If time upstream = n × time downstream
Time ratio of upstream to downstream = n : 1
As we know,
Speed is inversely proportional to time, then
Speed ratio of upstream to downstream = 1 : n
(x - y) : (x + y) = 1 : n
⇒(x+y)(x−y)=n1
⇒(x−y)(x+y)=1n
Componendo or Dividendo
yx=(n−1)(n+1)
⇒ x : y = (n + 1) : (n - 1)