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