EXPLANATION
Let's see the facts:
Length = 4*longer leg
Shorter leg of the base= 1/2 longer leg
We know that Volume = 5832 = 1/2* length* longer leg* shorter leg
Let's call x to the longer leg, the variables are:
length= 4*longer leg= 4x --> x is the longer leg
Shorter leg= 1/2longer leg= 1/2x --> x is the longer leg
Substituting terms, the equation would be:

Multiplying like terms:

Simplifying:

Switching sides:

Isolating x:
![x=\sqrt[3]{5832}](https://img.qammunity.org/2023/formulas/mathematics/college/wrd0aobxslw503vkyb8g4ie7spm1hnwll8.png)
Solving the cubic root:

So, x is the value of the longer leg.
Now, we need to find the length, we know that length=4*longer leg
So, the length of the carton is 4*18= 72
The answer is 72