A gift bag has width $w$ and is in the shape of a rectangular prism. The volume of the gift bag is 1152 cubic inches. The height is greater than the width. What are the dimensions of the gift bag?
A gift bag is in the shape of a rectangular prism. It has a height left-parenthesis 18 minus w right-parenthesis inches. It has a width of w inches and a length of left-parenthesis 2 times w plus 4 right-parenthesis inches.
The length is
inches, the width is
inches, and the height is
inches.