To answer this question, I need to convert cubic yards to cubic feet, since the price is given per cubic foot. I know that one yard is 3 feet, so one cubic yard is 3 times 3 times 3, or 27 cubic feet. Therefore, 5 cubic yards is 5 times 27, or 135 cubic feet. Now I can multiply the price per cubic foot by the number of cubic feet to get the total cost. The cost is 6 times 135, or 810 dollars. 
Topsoil costs $\$6$ per cubic foot. What is the cost, in dollars, of 5 cubic yards of topsoil?