6x^3+13x^2+16 is the result.
Caves are formed by the dissolution of limestone. Rainwater picks up carbon dioxide from the air and as it percolates through the soil, which turns into a weak acid. This slowly dissolves out the limestone along the joints, bedding planes and fractures, some of which become enlarged enough to form caves.
A cube because it has 6 faces/sides and 12 edges.