This problem is from Colin Hughes’s Maths Challenge website (mathschallenge.net).
“Four corners measuring x by x are removed from a sheet of material that measures a by a to make a square based open-top box. Prove that the volume of the box is maximised iff the area of the base is equal to the area of the four sides.”
See the Maximized Box Problem