Your answer is going to be 26 and 14, because 26+14=40, and 26-14=12.:)
Hello!
To find the volume of the prism you first have to find the volume of a cube
To do this you use the equation

V is volume
a is side length
Put in the values you know

Solve
V = 0.125
Now to find the volume of the prism you multiply the volume of one cube by the amount of cubes in the prism
0.125 * 8 = 1
The answer is 1 cubic inch
Hope this helps!