Two blocks of masses 3 kg and 6 kg are connected by a string as shown in the figure over a frictionless pulley. The acceleration of the system is