24. A bullet of mass m = 15gm is fired with an initial speed of 50om/s into a block of mass

M = 0.8kg initially at rest at the edge of a frictionless table of height h. The bullet
remains in the block, and after impact the block lands a distance d from the bottom of the
table. Determine the initial speed of the bullet and the distance d at which the block hits
the floor.