Two blocks are connected by a massless string that is passing over a massless frictionless pulley. Block 1 of mass M=10kg is on a frictionless surface that makes an angle α= 30° with the horizontal. Block 2 of mass m=5kg is on a frictionless surface that makes an angle β= 45° with the horizontal. Calculate the tension in the string and the acceleration of the blocks.