The blocks (m2>m1) are held in such a manner that spring is unstretched initially. Consider the situation at the time of release of the block (t=0) and short time after releasing the block (t>0). Accelerations of the blocks of masses m1 and m2 are a1 and a2 respectively