 Inelastic collision

 
In any closed system, momentum is conserved. Thus, it is possible to equate momentum in the start and final states of a system and thus calculate an unknown. Fill in the "start" conditions: Mass and velocity of A. Then fill in either the mass of B or the final velocity of A+B. The calc will provide the unknown mass or velociy of B. The calc also gives the momentum of the system.  