FBD of the given diagram
We can see that block m2 will remain stationary as there will not be any direct forces were acting, hence it's acceleration will be 0.
m1=20 kg
m2=30 kg
For m1:
T=m1am1
⇒20am1=180
⇒am1=9 m/s2
Therefore,
am2am1=0
Final Answer: 0