A 5-g bullet is fired into a 1.4-kg block that is resting on a frictionless surface and is attached to a spring with spring constant 312 N/m. After impact, the block with the embedded bullet slides 8 cm across the table, compressing the spring, before coming momentarily to rest. What was the initial speed of the bullet?