A 12.0 g bullet is fired horizontally into a 102 g wooden block that is initially at rest on a frictionless horizontal surface and connected to a spring having spring constant 154 N/m. The bullet becomes embedded in the block. If the bullet-block system compresses the spring by a maximum of 88.0 cm, what was the speed of the bullet at impact with the block?