Alright, lets get started.
The length of the box = 30 inches
constant k = 24
Volume [tex] (V) = l*w*h [/tex]
Let [tex] w*h [/tex] are constant, then
[tex] k = w*h [/tex]
volume of a box(V) varies directly with its length(l).
Means
[tex] V= k l [/tex]
Putting the value of k and l in above equation
Volume V = 24 * 30
V = 720 inches cube : Answer
Hope it will help :)