A cube has a volume of 512 cm3 . How long is an edge?