The correct option is D Velocity of motorboat is 9 km/h.
Velocity of river and boat be Vr&Vb
Place the frame of reference on the raft. Since, raft is moving with the same speed as that of the river and the frame of reference is on the raft, the river is at rest in that frame of reference. In this frame of reference, the motor boat moving away from raft with a speed of Vb for 60 mins and then returned with the same speed, so it takes 60 mins again for the boat to meet the raft. So, the total time is 2 hours. Given that, the raft has moved 6 km wrt ground in these 2 hours, so its speed is 62=3 km/hr. Therefore, the speed of the river is also 3 km/hr. As you can observe, the speed of the boat did not matter until now, it can take any value.