Answer:
7 units, 8 units
Explanation:
Apparently, the cross section of each prism is a rectangle 1 unit by 2 units. Hence the total length will be ...
(30 units³)/((1 unit)(2 units)) = 15 units
Two numbers that differ by 1 and have a sum of 15 are 7 and 8.
The lengths of the prisms are 7 units and 8 units.