**
So as we can see the pulley attached to the body here is a movable pulley.In Illustration (A) if the block attached to the pulley is moved in the direction of the arrow with an displacement of X meters then we can state that the pulley attached to the object via string will also move with the block by a displacement of X meters.Now,if the pulley displaces by X meters then to keep the string around the pulley tight,the string has to move by 2x meters(for this problem assume the string movement is from bottom string to top string).Now coming to the second case i.e (B),here again everything is same as it was in (A),except the bottom string.In case (A) the bottom string was parallel to horizontal(I have forgot to draw it) where as in case (B) it is making and angle theta with the horizontal.
So my question is,in case (B)if the block will displace X meters along the direction of the arrow,the pulley will also move with it,so will this time the displacement of the strings(from bottom to top) to keep the string tight around the pulley be 2x meters.