Let the mass be displaced by distance x to the left.
Let the normal forces on the block be N1 and N2.
Since no motion along vertical axis, N1 + N2 = Mg
Also, balance the torque about the center of mass of block (since no rotational motion and torque of gravitational force will be 0) N1(L/2 - x ) = N2(L/2 + x) (N1-N2)L/2= xmg N1-N2=2xMg/L Net force on block = (N1 - N2) =2xMg/L