The general idea of a cube in any dimension is called a hypercube, or n-cube. A 0-cube is a point, a 1-cube is a line, a 2-cube is a square, a 3-cube is a cube, etc. Points, Lines, Surfaces, ... The magic binomial x+2 can tell us how many points, lines, surfaces etc for each dimension: