A square pyramid and a cube have the same volume if the length of each side of the base of the square pyramid is 2 cm in the height of the cube is 4 cm what is the height of the pyramid

a 8cm
b 16cm
c 24cm
d 48 cm