(a)
take FBD of mass in right...
The forces are.. P to right... and friction towards left and tension towards left... And as P<F0 so, friction = P hence T=0
(b)
If F0<P<2F0 then again FBD of right mass..
the forces are P to right... F0 to left and T to left... and as P<2F0 so system is in equilibrium...
Hence P=T+F0 == > T=P-F0
(c)
P>2F0 ==> net acceleration is (P-2F0)/2m
Take FBD of right mass...
P to right, T and F0 to left
So, P-T-F0 = m.(P-2F0)/2m
==> P-T-F0 = P/2 - F0
==> T = P/2
so ans is (a),(b),(c)