Question 1081774
Draw this out with equal length dotted lines at each corner (x) intersecting to make little perpendiculars.  When those dotted lines are cut out, the original length is l-2x, the width is w-2x, and the height is x.
The volume is (l-2x)(w-2x)(x)