Answer:
[tex]15.394\ \text{feet}[/tex]
Step-by-step explanation:
Let [tex]x[/tex] be the length and width of the base of the prism and,
[tex]y[/tex] be the height of the prism.
Now height of the prism is 2 feet less than the length and width.
So [tex]y=x-2[/tex]
Volume of the the square prism is [tex]3174\ \text{ft}^3[/tex]
[tex]x^2y=3174[/tex]
Now we graph both the functions.
The point at which they intersect each other is [tex](15.394,13.394)[/tex]
So, the length of the prism is [tex]15.394\ \text{feet}[/tex].