A block of mass is attached to a massless spring with spring constant . This block is connected to two other blocks of masses and using two massless pulleys and strings. The acceleration of the blocks are , and as shown in the figure. The system is released from rest with the spring in its unstretched state. The maximum extension of the spring is . Which of the following option(s) is/are correct [ is the acceleration due to gravity. Neglect friction] [2019]

(4)
According to constraint relation from figure,

Let be the extension of the spring at a certain instant,

On solving we get,
...(i)
Comparing it with ,
and ...(ii)
For (Maximum extension of spring) we have from (i),

For
From eqn. (i),
At , particle is at mean position and its velocity