The formula for the volume of a square prism or box is calculated using the formula:
 V = s^2 * h
 where,
 s is the measure of the sides of a square
 h is the height of the prism or box = 8 cm
  
 We are given that the volume capacity of the box must be 1 Liter. We know that 1 Liter is equivalent to 1000 cm^3. Therefore calculating for s:
 1000 cm^3 = s^2 * (8 cm)
 s^2 = 125 cm^2
 s = 11.18 cm
  
 Therefore the measure of the sides of the square must be about 11.18 cm. If the problem ask for the area of the square, A = s^2 = 125 cm^2.