Object A and Object B are both in motion when they collide with each other. They then continue in a new direction unaffected by any other forces. This is a system, and the momentum is . This means that the sum of the momentums of A and B before the crash is to the sum of the momentums of A and B after the crash.