There are

small balls with same weight in horizontal smooth plane. And the volume of these balls can be negligible. All the balls are on the same straight line. There are three possibilities for their initial speed

which is

m/s,

m/s and

m/s.
The initial speed of

means that the ball moves to the left along a straight line, the initial speed of

means that the ball is still at first, and the initial speed of

means that the initial speed of the ball moves to the right in a straight line.
A fully elastic collision occurs when two balls collide against each other.
Fully elastic collision formula is
Among them,

represent the weight of the two objects that collided.

represent the speed before the collision.
Don't be worried, this question is not a physics question. You only need to know the exchanging speed at which two objects of exactly the same weight when they collide.
Given the positions and speeds of

balls at the beginning, find their positions

seconds later.