(a) Let ‘a’ be the acceleration of each block and T1 and T2 be the tensions, in the two strings as shown in figure.

Taking the three blocks and the two strings as the system.


(b) Free body diagram (showing the force sin x-direction only) of 4 kg block and 1 kg block are shown in figure.


For 4 kg blocks,
T2 = (4) (a)
∴ T2 = (4) (4) = 16 N