Mass of block A, m = 5 kg
F = ma = 10 N
As there is no friction between A and B, when block A moves, block B remains at rest in its position.
Initial velocity of A, u = 0
Distance covered by A to separate out,
s = 0.2 m
Using , we get:
⇒ t2 = 0.2
⇒ t = 0.44 s ≈ 0.45 s