You move loose earth and sand to form a barrier in a location you choose within range. The area of the spell consists of up to ten 5-foot cubes, which you can arrange as you wish. Each Cube must have at least one face adjacent to the face of another Cube.
Each 5-foot-Cube is an object with AC 8, 15 Hit points, and Resistance to Bludgeoning, Piercing, and Slashing damage. When a 5-foot Cube of sand is reduced to 0 Hit points, it collapses, and might cause other cubes atop or adjacent to it to collapse to fill the space at the DM's discretion.
Upcasting. You create two additional 5-foot Cube for each spell level above 2nd.