A $1.0 \;kg$ block collides with a horizontal weightless spring of spring constant $2.0N/m$. The block compresses the spring $4.0\;m$ from the rest position.Assuming that the coefficient of kinetic friction between the block and horizontal surface of $0.25,$ what was the speed of the block at the instant of collision