Answer:
The quantity of frosted donuts = 2
The quantity of glazed donuts = 9
The quantity of custard filled donuts = 1
Step-by-step explanation:
Let the quantity of frosted donuts = [tex]x[/tex]
Let the quantity of glazed donuts = [tex]y[/tex]
Let the quantity of custard filled donuts = [tex]z[/tex]
As per question statements, following equations can be made:
[tex]x+y+z=12......(1)\\2x+y+5z=18.....(2)\\x=2z ...... (3)[/tex]
Putting [tex]x=2x[/tex] in (1) and (2):
[tex]y+3z=12 .... (4)\\y+9z=18 .... (5)[/tex]
Subtracting (4) from (5):
[tex]6z=6\\\Rightarrow z =\bold{1}[/tex]
By equation (3):
[tex]x=\bold{2}[/tex]
By equation (1):
[tex]y=\bold{9}[/tex]
Therefore, the answers are:
The quantity of frosted donuts = 2
The quantity of glazed donuts = 9
The quantity of custard filled donuts = 1