Answer:
The length is 40 units.
Explanation:
You need to use a triangle for the base then use the hypotenuse of the base as the base of the diagonal shown in the prism.

The hypotenuse of the triangle of the base is 16.

The diagonal shown in the prism is 40 units.