An 8.0g bullet is fired into a 2.5 Kg block at rest at the edge of a friction-less table of height 1.0 m. The bullet remains in the block and after the impact the block lands (d) distance from the bottom of the table. Find the initial speed of the bullet.

Now I do realize this problem could have been very easy if (d) was given, but in this case it is NOT. Is there a way to solve this question?