Quote:

it wouldnt work.


No, here I'll try it -

m1 = 1000kg
m2 = 100kg
vi1 = 4m/s
vi2 = -40m/s

... calculator ...

vf1 = -4 m/s
vf2 = 40 m/s