40 units
======================
Use the formula for the volume of a rectangular prism:
We are given the volume of the prism as 1280 cubic units and the area of the base is 32 square units.
We can rearrange the formula to solve for the height. This gives us:
So, the height of the prism is 40 units.