The forces are shown in figure taking the ground as reference frame.
`N_(2)=mg " " ...(1)`
`F-T-f=0" " ...(2)`
`N_(1)=N_(2)+Mg " " ...(3)`
`T-f=0" "...(4)`
Again, `f_("max")=muN_(2)`
i.e. `f_("max")=mu mg " " ...(5)`
For .m. not to slide relatively on .M.,
`f le f_("max") " " ...(6)`
Using equation (1) to (5) and the condition (6), `F_("max") ` can be found out as,
`F_("max")=2mu mg`.