A rectangular building with a square base is being designed to minimize heat loss. The building designers state that the volume of the building must be exactly 4000 m^3. Write an equation for y, the height of the building, in terms of x, the length and width of the base.