An ideal pulley is set up as shown. The smaller block has a mass of 2 kg and the larger block has
a mass of 4 kg. Find the acceleration of both blocks.