The volume of a prism is given by:
[tex]V=lwh[/tex]We know that the height is x. The length is 25 shorter than x, this can be express as:
[tex]x-25[/tex]The width is 14 longer than x, this can be express as:
[tex]x+14[/tex]Plugging the expressions for the length, the width and the height we have that:
[tex]\begin{gathered} V=(x-25)(x+14)x \\ V=x(x-25)(x+14) \end{gathered}[/tex]Therefore, the volume of the prism is:
[tex]V=x(x-25)(x+14)[/tex]