PeterO said:
Might this be simply that the downward force on the system is the weight of the two masses [I assume the pulley is taken as massless, as the mass is not given], while the upward force is F.
From that you calculate a net force, with a total mass of M+m and so you get acceleration?
To get a feel for this: consider the following scenarios:
Lets have both masses sitting of the ground to begin with, and in fact "glue" mass M to the ground.
When you apply and upward force, gradually increasing, at first nothing moves, since the weight of the mass m may be more than enough to resist a small applied force F.
If F is big enough, the pulley and mass m will both accelerate up [remember I am considering M to be glued to the floor]. the pulley system means the acceleration of m is twice the acceleration of the pulley.
As F is increased, the acceleration of m increases meaning the Tension in the wire increases. That increase will be limitless, since the mass m is still glued to the ground at this point.
Eventually your calculations will produce a tension which happens to be greater than the weight of M.
Now consider if mass M was not "glued" to the ground.
Once the tension you calculate above exceeds the weight of mass M, both masses will leave the ground, and you have a whole new set of conditions applying.
The Tension in the wire will still be the same on both sides, but now you have to consider both masses in your equation.
Since these masses do not start on the ground, that second more complicated situation is the only one you have to analyse.
Remember, if F < Mg + mg, the pulley will be accelerating down!