To answer this question, we can count the number of the "small" cubes we have in the prism. One way of doing this is by noticing that we have:
1. As a length, we have 5 cubes.
2. As a width, we have 3 cubes.
3. As a height, we have 2 cubes.
And we can see this by checking the following sketch of the prism:
4. And now we can multiply the number of each of the sides of the prism. Therefore, the volume of the cube is then:

In summary, therefore, the prism has a volume of 30 cubic units.