Two blocks of masses $m_1=m$ and $m_2=2m$ are connected by a light string passing over a frictionless pulley.The mass $m_1$ is placed on a smooth inclined plane of inclination $\theta=30^{\large\circ}$ and mass $m_2$ hangs vertically as shown in figure below.If the system is released,the blocks move with an acceleration equal to