Given data
Body A has a momentum is pa=20 kg.m/s
Mass of the body B is mb=2.5 kg
From the given data, the momentum of the body B is having the same momentum as the body A.
pa=pb
The formula for the velocity of the body B is given as
pb=mbvbvb=pbmb
Substitute the known values in the above expression as
vb=202.5=8 m/s
Hence, the velocity of the body B is vb=8 m/s