So you have to find the volume of the tank, and the volume of the pyramid. Then subtract the volume of the pyramid from that out of the tank. The formula for pyramid is v = lwh/3. For the tank (which is a cube in this case) It's any given side cubed.