Question 121886
If you cut a square of side x from the corners of a 25 by 25 sheet, the length of each side of the bottom of the box will be 25 - 2x.  The volume of a rectangular solid is {{{V=lwh}}}, here l = 25 - 2x, w = 25 - 2x, and h = x, so:


{{{V=(25-2x)(25-2x)x}}}


Using FOIL:
{{{V=(625-50x-50x+4x^2)x}}}


Distribute the x and collect terms:
{{{V=4x^3-100x^2+625x}}}