Given: The mass of shell is
Initially, both the gun and the shell are at rest therefore, the initial momentum of the system is zero.
The final momentum of the system is given as,
Where,
From the conservation of momentum,
By substituting the given values in the above equation, we get
Thus, the recoil velocity of gun is