The formula is L*W*D, right? So for the cube, since all sides are equal then the Length, Width and Depth would all be 8 unless otherwise specified. 8*8*8=512 The rectangle would be 10*2*3&1/2 or 10*2*3.5=70 I hope this is correct but if you want check my work with a calculator to make sure.