A 6 kg wood block is at rest on a horizontal frictionless surface. A bullet of mass 0.12 kg is fired at the block at 350 m/s. The bullet passes through the block and emerges from the other side with a speed of 78 m/s. Find the speed of the block after the bullet leaves the block.