@Randy Dandy,
Let L be the length of the square piece. You cut out two 4" pieces, so the length of the base of the box is L-8"
The volume of the box = 100 cubic inches = Area of the base x height and we know the height is 4", so the area of the base is 100/4 = 25 sq inches
Area of a square = side length squared, so
25 = (L-8)^2
5 = L-8
13 = L