In the diagram illustrated a block of mass M is at rest on a plane…