A 24 g bullet strikes a 0.5 kg block attached to a fixed horizontal spring whose spring constant is 6.6 x 103 N/m and sets it into vibration with an amplitude of 20 cm. What was the speed of the bullet before impact if the two objects move together after impact?