Step-by-step explanation:
[tex]\large{ \star \fcolorbox{magenta}{purple}{ \fcolorbox{magenta}{blue}{ \fcolorbox{magenta}{pink}{ \fcolorbox{magenta}{red}{ \sf{ añßwër}}}}}} \star[/tex]
cost of 12 bags cookies= $8
cost of 1 bag = 12/8 = $3/2
now,
cost of 30 bags = 3/2×30 = $45