physics
posted by jeremy .
Car A with a mass of 1250 kg, is traveling at 30 m/s to the east. Car B is a truck with a mass of 2000 kg, traveling to the west at 25 m/s. assume these two vehicles experience an inelastic collision but do not stick together, and car A goes off 10 m/s to the west. what will be the resulting velocity of car B?

Isn't this just the conservation of momentum?

yes I have problems figuring out formula.

m₁v₁m₂v₂=m₁u₁+m₂u₂
u₂= (m₁v₁m₂v₂+m₁u₁)/m₂=
=(1250•302000•25+1250•10)/2000 = 0