a large piece of cadboard, 5cm by 8cm to be made by cutting out sqaures in each corner. find dimensions that will maximize the volume?

vol= (8-2w)(5-2w) (w)
answer= 1cm and 10/3 cm
is this correct?

Is the box to be made have a lid? I assume not.

using calculus...

V=(8-2w)(5-2w)(w)
V'=0=-2(5-2w)(w)-2w*(8-2w)+(8-2w)(5-2w)

multiply all this out, gather terms, then solve the qudratic equation.