Boxcar A, with a mass of 1500 kg, is travelling at 25 m/s to the east. Boxcar B has a mass of 2000 kg, and is initially at rest. The boxcars collide inelastically and move together after they get stuck. What is their combined velocity?

1500*25 + 2000*0 = (1500+2000)v