You've told us the volume of the carton.
That doesn't tell us the dimensions.
If the unit cubes have to exactly fit the dimensions,
then all we know is that the dimensions are integers,
and their product is 1,000.
The carton could be
1 by 1 by 1,000
1 by 2 by 500
1 by 4 by 250
1 by 5 by 200
1 by 8 by 125
1 by 10 by 100
1 by 20 by 50
1 by 25 by 40
2 by 2 by 250
2 by 5 by 100
2 by 10 by 50
.
.
and several other possible sets.
Ur answer is. 5 y^2+4y+14 because I went through it in class
A. X> lobsters
7 + x <= 18
X <= 11 lovsters.
B. (7+3+10)
x= additional lobsters
10 + x <= 24
x<= 14 lobsters
C. 24/4 = 6 lobsters
Hope this helps.
Rectangle is length multiplied by breadth