Step-by-step explanation:
According to the law of conservation of momentum, for an isolated system or the system in which no external force is acting, the initial momentum before the action is equal to the final momentum after reaction. It is given by :


Here,
u is the initial velocity
and v is the final velocity
Hence, this is the required solution.