We have an inelastic collision so only momentum is conserved. Be sure to count the mass of the bullet when finding the weight of the block for friction and the momentum.