As Fext=0, so linear momentum of the system is conserved, Thus
−2mv+m×2v+0=(2m+m+8m)vc
or
vc=0
Now as τext=0, angular momentum of the system is also conserved, Thus
m1v1r1+m2v2r2=(I1+I2+I3)ω
or
2mva+m(2v)(2a)=(2ma2+m(2a)2+8m×(6a)212)ω
or
6mva=30mωa2
or
ω=v5a
Now as the system has no translatory motion but only rotatory motion we have
E=12Iω2=12(30ma2)(v2a)2=35mv2