Step-by-step explanation:
Whole system will accelerate under the action of applied force. The box will experience the force against the friction and when this force exceeds then the box will move. so
Ff = μs×m1×g
m1×a = μs×m1×g
a = μs×g
The applied force is given by
F = (m1 + m2)×a so
F = μs×g×(m1+m2)