The volume of a cube is (also known as regular hexahedron) is equal to the length of its edges elevated to the cube (taking into account that in a cube each side and edge has the same size).
In this case we have a first cube (called cube 1) which edges are [tex]b[/tex], hence its volume is:
[tex]V_{cube1}=b^{3}[/tex]
Also we know cube 2 side lengths or edges [tex]B[/tex] are twice those of cube 1, this means:
[tex]B=2b[/tex]
Therefore the volume of cube 2 is:
[tex]V_{cube2}=B^{3}[/tex]
Which is the same as:
[tex]V_{cube2}={(2b)}^{3}[/tex]
Therefore the right answer is B