A large chunk of metal is in the shape of a rectangular prism.

​Its dimensions are 8 inches by 2 inches by 3 inches.

​If the metal is melted down and reformed into 6 equal cubes, what is the volume of each cube?