Given a cube with a volume of 18 cm3, what is the volume of a square pyramid that can fit perfectly inside the cube?
3cm
6cm
9cm
12cm
3cm
6cm
9cm
12cm