hint:

This is a totally inelestic collision because the bullet is sticking in the block. Be sure to count the mass of the bullet when calculating the falling block!