A M2= 6.40 kg mass is released from rest at height h = 6.60 m . Using the law of conservation of energy, determine the speed of the M1= 2.70 kg mass just as the M2= 6.40 kg mass hits the ground.

It is not clear to me how M1 and M2 are related, are they linked vertically by a string, are they released at the same time?