Answer: The side of the square will be 3 cm.
Step-by-step explanation:
When squares of equal size of side x, are cut from the four corners, we are left with the following dimensions for the cuboid box.
l= 30-2x
b = 14-2x
h= x
Hence, the volume of the cuboid will be ,
V = lbh
= (30-2x)(14-2x)x
Since this volume should be the largest possible, then differentiating volume with x should be equal to zero.
Therefore, 

solving we get, x = 3, x = 
We can omit x =
because 14 - 2x < 0 , which is not possible.
Therefore, x=3.