A hanging mass, $M_{1}=0.400 \mathrm{~kg}$, is attached by a light string that runs over a frictionless pulley to a mass $M_{2}=1.20 \mathrm{~kg}$ that is initially at rest on a frictionless ramp. The ramp is at an angle of $\theta=30.0^{\circ}$ above the horizontal, and the pulley is at the top of the ramp. Find the magnitude and direction of the acceleration, $a_{2}$, of $M_{2}$.