Answer:
Option B
Explanation:

Motion of ball A relative to rocket.
Consider motion of two balls with respect to rocket.
Maximum distance of ball A from left wall
u22a=0.3×0.32×2
= 0.094=0.02m (as 0=u2−2as)
So, collision of two balls will take place very near to left wall

Motion of ball B relative to rocket
For B S=ut+12at2
−4=−0.2t−(12)2t2
Solving this equation, we get,
t= 1.9 s
Nearest integer =2s