More Physics Homework Help at LeiAcademy.

The blocks are going to slide with acceleration to the right and down the ramp.

Do free body diagrams for the two blocks and the pulley. Define the positive direction being clock wise for the rotation and towards right and down the ramp.

For block 1, you would have 4 forces with ||N_1=m_1g|| and ||f_1= \mu m_1 g||. $$T_1-f_1=m_1a$$

For block 2, we have ||N_2 =m_2 gcos\theta|| and ||f_2=\mu m_2gcos\theta||. $$m_2gsin\theta -T_2-f_2=m_2a$$

For the pulley, we have ||I=\frac 1 2 MR^2||. $$T_2R-T_1R=I\alpha$$

And ||\alpha R=a||.

Solve for ||a||, ||T_1|| and ||T_2||.