A box is partially filled with books. If 24 cubic inches of the box are already filled and there are 12 cubic inches of space left, what is the total volume of the box (in cubic inches)?