Let w represent width of the rectangle.
We have been given that the length of a rectangular prism is 1 more than three times the width w. So length of the rectangle would be
.
We have been given that the volume of the prism is
.
We know that volume of rectangular prism is width times length times height.
So we can set an equation as:
![\text{Length}* \text{Width}*\text{Height}=3w^3+19w^2+6w](https://img.qammunity.org/2021/formulas/mathematics/high-school/vfpbynnhfxs7jw68hk1rm1rc6exf3ar0nu.png)
![w(3w+1)*\text{Height}=3w^3+19w^2+6w](https://img.qammunity.org/2021/formulas/mathematics/high-school/zvfy4rr2mrkw908hlnbqvpv8bg7b30gzes.png)
![\text{Height}=(3w^3+19w^2+6w)/(w(3w+1))](https://img.qammunity.org/2021/formulas/mathematics/high-school/wfupy2x6lujv6y9waqmqf191302ccogp1m.png)
Let us factor out w from numerator.
![\text{Height}=(w(3w^2+19w+6))/(w(3w+1))](https://img.qammunity.org/2021/formulas/mathematics/high-school/7limeu8dhsevm7zzc179cbzuvctbmqhf3u.png)
![\text{Height}=(3w^2+19w+6)/(3w+1)](https://img.qammunity.org/2021/formulas/mathematics/high-school/2j68ovkeeneh3u1bffnhtqvsww9df5z55l.png)
![\text{Height}=(3w^2+18w+w+6)/(3w+1)](https://img.qammunity.org/2021/formulas/mathematics/high-school/nk4lfv8c6dhw0oi9mjb0kw51hn7960cpt9.png)
![\text{Height}=(3w(w+6)+1(w+6))/(3w+1)](https://img.qammunity.org/2021/formulas/mathematics/high-school/aov2dk9th7d0ta3jwqjmisizbnfacuwgwz.png)
![\text{Height}=((w+6)(3w+1))/(3w+1)](https://img.qammunity.org/2021/formulas/mathematics/high-school/texhz7iz8hpf9fv8impyabqm0ir3lf09c9.png)
Now we will cancel out
from numerator and denominator.
![\text{Height}=w+6](https://img.qammunity.org/2021/formulas/mathematics/high-school/5t3zzfu0ilolbe80po8prefdb7lt7rj1m6.png)
Therefore, the height of the prism is
units.