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,
  1. Find the acceleration of the system.
  2. What is the tension in the string?

1. Find the acceleration of the system.
More Inclined Surfaces Questions: