The correct option is C 2g5
Draw a free body diagram.
Find the value of acceleration.
For block A. Applying Newton's second law on section A
mg−2T=maa …(i)
For block B,
T−mg=mab …(ii)
and by constraint motion,
−T⋅ab−2T⋅aa=0
ab=−2aa …(iii)
T−mg=−2maa …(iv)
Solving (i), and (iv) get,
aa=−g/5 and ab=−2g/5
Final Answer: 2g5