Question 869352
The dimensions of the base become  (18-2x) and (24-2x), and the height is x.  The volume will be {{{x(18-2x)(24-2x)}}}, which can be multiplied and simplified if needed.