Answer:
The cost of each cotton candy bag is $4.
Step-by-step explanation:
Consider the provided information.
Let, the vendor has [tex]x[/tex] dollar at the starting of each day.
Let, the cost of each cotton candy bag is [tex]y[/tex].
Now when she sells a total of 12 bags, she has $128.
[tex]x+12y=128[/tex] .....(1)
After she sells a total of 20 bags, she has $160.
[tex]x+20y=160[/tex] ....(2)
Subtract equation 1 from equation 2.
[tex](x+20y)-(x+12y)=160-128[/tex]
[tex]8y=32[/tex]
[tex]y=4[/tex]
Hence, the cost of each cotton candy bag is $4.