Question 293753
There are several problems with your problem.
First : Nothing is "wrote" anywhere. There might be words written.
Second the figure can't be a square because sand is three dimensional. A square is two dimensional. 
To find how much sand we need length, width and height (height or depth).
It appears the sand box is 1 foot square with a depth of x.
We need x cubic feet of sand.