

As given in the problem,
The speed of boat =18 km/hr in north-west direction,i.e the velocity makes an angle of 45 with west.

We have to find the velocity along shoreline or parallel to river.
We can see in figure that the velocity V makes an angle (45+15) =60o with the river.
So, Vcosθ = V cos60
= 18×1/2
=9 km/hr
