Sphere A has mass m and velocity +3v so its initial momentum is 3mv. Sphere B has mass 2m and velocity -v so its initial momentum is -2mv. Therefore we can say:3mv - 2mv = Mcvc, where Mc and vc are the mass and velocity of the combined spheres respectively. The mass will simply be the sum of the masses of A and B, thus Mc = 3m. We can therefore calculate vc by:3mv - 2mv = 3mvc -> mv = 3mvc -> v = 3vc Therefore the final velocity of the spheres is v/3.