In order to work out the volume you would first need to work out the area. You can do this by multiplying the length of 6 by the height of 4, this gives you 24.
To workout the volume you would need to multiply the area of 24 by the width of 8, this gives you 192.