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?

conservation of momentum

initial=final
1500*25East=(1500+2000)V
solve for V