a. Let the force applied by string to the block be T. For part (a), consider one system is block and other string. Let the acceleration of the system (block + string) be a.
Now we apply Newton's law to each of them.
For system II : F−T=ma......(i)
For system I : T=Ma......(ii)
AFter solving (i) and (ii), a=FM+m, T=MFM+m
b. Now we have to redefine our system. Choose system 1 as block and half string and system 2 as the other half string. On applying Newton's second law to system 1 and system 2, we have
System II : F+T=m2×a.......(iii)
Mass per unit length of string =m/L
Hence, mass of L/2 length of string =mL×L2=m2
System I : T1=(M+m2)a......(iv)
After solving, (iii) and (iv), we get
a=FM+m, T1=(M+m/2)F(M+m)
c. Now we can redefine our system in the block and string of length L-x (system I) and string of length x (system II)
System II : F−T2=(mL×x)a........(v)
System I : T2={mL(L−x)+M}a........(vi)
Solving, (v) and (vi), we get
a=FM+m and T2={m(L−x)/L+M}FM+m
Here we see that acceleration in each part is same, but tension changes along the string.