A. x (the side of the square cut from the corner)
this must be >0 and <6 or 0<x<6 (if it is greater than six then the box will have not width)
B.
v = l * w * h
l = 18 - 2x
w = 12 -2x
h = x
V = (18-2x)*(12-2x)*x
V = 4x3 - 60x2 + 216x
C.
Find the derivative and set it equal to zero to find the maximum
v' = 12x2 - 120x + 216
0 = 12x2 - 120x + 216
0 = x2 -10x + 18
Does not factor nicely so use the quadractic formula
x = (10 - Sqrt(28)) /2
x = 2.354249 (this will be the value for the maximum volume)
try x = 2.2 and x = 2.4 and you will see that the maximum is at the value shown above
D.
the volume equals 80 when x equals 5 (you can verify by putting 5 into the equation)
You should be able to figure out when it is greater than 80