Step1: Draw the free body diagram of the given problem.
Step2: Find the acceleration of the blocks A and B.
From the FBD of pulley,
2T=200
⇒T=100 N
For block A,
T−4g=4aA
aA=100−404=15 m/s2
For block B,
T−5g=5aB
aB=100−505=10 m/s2
So, the difference in accelerations of the blocks
⇒aA−aB=15−10=5 m/s2
Final Answer:5