The amount of cardboard is equal to the surface area of the prism.
We can calculate the surface area as the sum of the area of the faces.
In a rectangular prism we have 3 pairs of faces. In this case, the faces are:
- Face 1: 2 faces of dimensions 12 * 8 in.
- Face 2: 2 faces of dimensions 18 * 12 in.
- Face 3: 2 faces of dimensions 18 * 8 in.
Then, we can add the areas as:

NOTE: A1 is the area of the face 1, A2 is the area of the face 2, and A3 is the area of the face 3.
Answer: the amount of cardboard needed is 912 square inches.