In the given figure, find the displacement of the block A in the x-axis in the time interval of 3 s (String is massless and inextensible)