Applying law of conservation or momentum $ mv\text{ }=\text{ }m\upsilon $ Here, mass of bullet $ m=50\text{ }g=0.05\text{ }kg $ velocity of bullet $ =1\text{ }km\text{/}sec=1000\text{ }m\text{/}sec $ mass of gun $ m=5kg $ or $ 0.05\times 1000=5v $ or $ v=\frac{0.05\times 1000}{5} $ so, $ v=10\,m\text{/}s $