Mark M. answered 01/04/20
Retired math prof. Calc 1, 2 and AP Calculus tutoring experience.
Let x = length of a side of each square
V(x) = volume = x(16 - 2x)(30 - 2x) = x(4x2 - 92x + 480) = 4x3 - 92x2 + 480x, 0 < x < 8
V'(x) = 12x2 - 184x + 480 = 4(3x2 - 46x + 120) = 4(3x - 10)(x - 12)
V'(x) = 0 when x = 12 or 10/3. Since x can't be 12, x = 10/3.
When 0 < x < 10/3, V'(x) > 0. So, V(x) is increasing
When 10/3 < x < 8, V'(x) < 0. So, V(x) is decreasing.
V(x) has a relative (and absolute) maximum when x = 10/3
Maximum volume = V(10/3) = (10/3)(28/3)(70/3) = 19,600 / 27 in2 ≈ 725.9 in2