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