Set up the proportion. Then cross multiply and isolate the variable to solve.
[tex]\frac{8(trash bags)}{30 (days)} = \frac{x (trash bags)}{180 (days)}[/tex]
8(180)= 30(x)
[tex]\frac{8(180)}{30} = \frac{30x}{30}[/tex]
8(6) = x
48 = x
Answer: 48 trash bags