The number of cubic yards of dirt, D\displaystyle {D}, needed to cover a garden with area a\displaystyle {a} square feet is given by D=g(a)\displaystyle {D}={g{{\left({a}\right)}}}

A garden with area 1000 ft2\displaystyle {f}{t}^{{2}} requires 40 cubic yards of dirt. Express this information as an equation, in terms of the function g.