A student needs the density of a cube for a lab. Each side is 3cm long and its mass is 12g. What is the density of the cube?