Two masses on a pulley on a slope

Two blocks of mass m and M are connected via pulley with a configuration as shown. The surfaces are frictionless. If M=15 kg and m=8 kg and θ1=30 and θ2=60\theta_1=30\ {\rm and}\ \theta_2=60,

a) Find the acceleration of the system.
b) What is the tension in the string?

More Tension Questions: