Two masses of 10kg and 20kg respectively are connected by a massless spring as shown in the figure. A force of 200N acts on the 20kg mass. At the instant shown the 10kg mass has an acceleration of 12m/s2 rightwards. What is the acceleration of 20kg mass?