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