Let x y z be no of marbles in box A B C
acc to ques we get following equations
x+y+z=249
y+36=5(x-36)
y-21=1.5(x+21)
solving this we get x=69 y=129 and z=51
now to have equal marbles in box A and B we transfer k marbles from B to A
129-k=69+k
2k=60
k=30
so ans is b