Using
mAvA+mBvB=mAuA+mBuB
Assume the 2 kg particle is moving in the positive direction,
25+3(−6)=2(−2)+3v10−12=−4+3v2=3vv=32 ms-1
The 3 kg particle moves in the opposite direction to its original velocity.