Two blocks, each with a mass of 2 kg, are sliding towards each other at a velocity of 2 m/s on a frictionless surface. The blocks collide with a coefficient of restitution of 0.5. Determine the magnitude of the velocity of the blocks after the collision.