Answer:
Acceleration of the second particle at that moment is given as

Step-by-step explanation:
As we know that both cars are connected by same spring
So on this system of two cars there is no external force
So we will have

now we have



now we have

so we have
