Step 1: Draw FBD of both blocks
For Block A
At both pulley tension is acting, and both are in opposite direction therefore block will be in equilibrium
For block B
Only single tension force is acting so it will be accelerating towards left
Step 2:Find force equation for block B
F=T=ma
2=1×a
a=2 ‘m/s2
FINAL ANSWER: 2