Two blocks of masses m1=2kg and m2=4kg are moving in the same direction with speeds v1=6m/s and v2=3m/s, respectively on a frictionless surface as shown in the figure. An ideal spring with spring constant k=30000N/m is attached to the back side of m2. Then the maximum compression of the spring after collision will be :