Find the speed of a bullet by using the work-energy theorem and conservation of momentum during a collision with a block