100 grams = 0.1 kg m = 0.1
u=−8 ms−1
v=5 ms−1
(Note that u and v must have opposite signs as they are in opposite directions.)
I=mv−mu0.15−0.1(−8)=0.5+0.8=1.3 Ns