The pulley arrangements of figures (a) and (b) are identical. The mass of the rope is negligible. In Fig. (a)