Step 1 :Convert the dimensions of the hole from feet to yards. There are 3 feet in a yard. So, the dimensions of the hole in yards are: Length = \(\frac{60}{3} = 20\) yards, Width = \(\frac{27}{3} = 9\) yards, Depth = \(\frac{6}{3} = 2\) yards.
Step 2 :Calculate the volume of the hole. The volume of the hole is length x width x depth = \(20 \times 9 \times 2 = 360\) cubic yards.
Step 3 :Calculate how many truckloads are needed to haul away all the dirt. The truck can carry 30 cubic yards per load, so the number of loads is \(\frac{360}{30} = 12\) loads.
Step 4 :Calculate the total cost. The truck charges $30 per load, so the total cost is \(12 \times 30 = 360\) dollars.
Step 5 :\(\boxed{360}\) dollars is the cost to have all the dirt hauled away.