It is given that the trolley carrying the sand bag is moving with a constant velocity, so there is no external force on the system of trolley carrying the sand bag.
When the sand starts leaking, there is no external force acting on the bag hence, the speed of the trolley will not change.
Thus, the speed of the trolley after the emptying of the sand is