Beth makes a bead in the shape of a cube with side length 18 millimeters. She cuts a hole in the shape of a square prism out of the center of the cube so that the bead
will fit on a string. The base of the square prism has a side length of 6 millimeters
After the hole is cut out, what is the volume of the bead in cubic millimeters?