If the density of a block of wood is 0.5 cm3 what is the volume of the block if its mass is 27 g?

The units for density are incorrect. If the density of a block of wood is 0.5 g/cm3 then the volume of a 27 g block would be 27/0.5 cm3 = 54 cm3