Let the final direction of velocity be positive.
Mass of the ball, m = 100 g = 0.1 kg
Initial velocity of the ball, u = -20 m/s
Final velocity of the ball, v = 30 m/s
Impulse experienced by the ball is equal to its change in momentum.
Impulse=ΔP=m(v−u)=0.1[30−(−20)]=5 kgm/s