Clearly, motorboat takes 2 h go from Mumbai to Goa and 4 h to go from Goa to Mumbai. i.e.,
Time taken to row upstream = 2 x Time taken to row downstream
∴ n = 2
Let the speed of stream be V km/h.
According to the formula,
Speed of boat = V(n + 1)/(n - 1)
⇒ 30 = V(2 + 1)/(2 - 1)
∴ V = 30/3 = 10 km/h