The volume of the desk can be calculated by multiplying the length, width, and height of the desk.
Volume = length x width x height
Volume = 40in x 12in x 24in
Volume = 11,520in3
However, we need to subtract the volume of the two legs on the sides, which are each 10 inches wide x 12 inches wide x 18 inches high.
Volume of one leg = 10in x 12in x 18in = 2,160in3
Volume of both legs = 2,160in3 x 2 = 4,320in3
Therefore, the total volume of the desk is:
11,520in3 - 4,320in3 = 7,200in3
So, the volume of the desk is 7,200 in.3