hi shivusuja

When travelling downstream the boat will move (relative to the land) at a velocity 15 + v where v is the velocity of the stream.

And upstream at a velocity 15 - v

So you can use

in the two cases using 30 for the distance and v for the velocity of the stream.

Get the time for each, add them and set that equal to 4.5 to find v

Bob