A body of mass M kg rests on a plane inclined at an angle \(\theta\)…