A block of mass 3 kg which is on a smooth inclined plane making an angle of 30o to the horizontal is connected by a cord passing over a light frictionless pulley to a second block of mass 2 kg hanging vertically. What is the acceleration of each block and what is the tension of the cord?