Rafael wants to replace the wooden floor at his gym. The floor Is in the shape of a rectangle. Its length is 40 feet and its width is 30 feet. Suppose wood flooring costs $12 for each square foot. How much will the wood flooring cost for the floor?