Let the accelerations in both cases are a and a′ respectively.
The tension is given as,
T−mg=ma (1)
2mg−T=2ma
By adding equations (1) and (2), we get
mg=3ma
a=g3
In the second case the tension is given as,
T′−mg=ma′ (3)
2mg−T′=0 (4)
By adding equations (3) and (4), we get
mg=ma′
a′=g
The ratio of acceleration is given as,
aa′=g3g
aa′=13