2. Una pastelería decide donar 100 pasteles de dos sabores al per-
sonal médico de una clinica.El pastel de un sabor tiene 5 rebana-
das y del otro sabor 10. Si al final se contaron 800 rebanadas,
¿cuántos pasteles de cada tipo donó la pastelería?​

Respuesta :

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.