Answer:
You need 10 cubic yards of soil
You'll need to buy 40 bags of soil if the store only sells in increments of 1/4 of a cubic yard.
=================================================
Explanation
volume = length*width*height
volume = 27*24*(5/12)
volume = 270 cubic feet
The 5/12 refers to the fact 5 inches = 5/12 of a foot. Do not forget to convert everything to the same unit before multiplying.
Since 1 yard = 3 feet, cubing both sides gets us 1 cubic yard = 27 cubic feet.
Then multiply both sides by 10 to turn the 27 into 270.
It will show that:
270 cubic feet = 10 cubic yards
You need 10 cubic yards of soil. The store sells in batches of 1/4 of a cubic yard. Let x be the number of bags of soil. The expression (1/4)x is the amount of soil you need.
(1/4)x = 10
x = 4*10
x = 40
You need to buy 40 bags.