An ideal spring is permanently connected between two blocks of masses M and m. The blocks-spring system can move over a smooth horizontal table along a straight line along the length of the spring as shown in Fig.The blocks are brought nearer to compress the spring and then released. In the subsequent motion,