Two packing crates of masses 10.0kg and 5.00kg are connected by a light string that passes over a frictionless pulley as shown in Figure. The 5.00kg crate lies on a smooth incline of angle 40.0 degree . Find the acceleration of the crates and the tension in the string.