The momentum is given by:
p = mv
Where:
m: mass
v: velocity
For a particle system with mass m1, m2, the total momentum is given by the sum of the momentums of all the individual particle in the system.
P = p1 + p2 + ... + pn = m1v1 + m2v2 + ... + mnvn