Let x = length of a side of a square
The base of the box is a rectangle with dimensions 10 - 2x by 14 - 2x. The height of the box is x.
Volume = V(x) = x(10-2x)(14-2x)
Since x is the height of the box, x must be positive.
Also, the dimensions of the base of the box must be positive, so x < 5.
Domain: 0 < x < 5