We know that the volume of a rectangular prism is length*width*height. So for part a, we just need to multiply those values.
A:

So, the answer to part A is
10(2x³-x²)
For part B, all we do is plug 2 in for x into our polynomial.

So, the volume is 120 cubic units.
Hope this helps!