Answer: 40 one flavor cakes and 60 other favor of cakes
Step-by-step explanation:
Let x = Number of one flavor of cakes
y = Number of other flavor of cakes
According to the question
[tex]x+y=100...(i)\\5x+10y= 800...(ii)[/tex]
Divide (ii) by 5 , we get
[tex]x+2y= 160...(iii)[/tex]
Eliminate (i) from (iii), we get
[tex]y=60[/tex]
Put this in (i), we get
[tex]x+60=100\Rightarrow\ x=40[/tex]
Hence, 40 one flavor cakes and 60 other favor of cakes were donated.