Initially, the system is at rest therefore, the initial momentum of the system is zero.
The final momentum of the system can be expressed as,
According to conservation of momentum,
Plug in the known expressions,
Substitute the known values,
Thus, the recoil velocity of gun is -16.8 m/s where negative sign indicates that the motion of rifle is in the opposite direction of the bullet.