Maya bought a dozen specialty donuts at the bakery for $18. She purchased a mixture of frosted donuts for $2 each, glazed donuts for $1 each, and custard filled donuts for $5 each. If Maya purchased twice as many frosted donuts as custard filled donuts, how many of each type of donut did she buy? Variables: mixture of frosted donuts X y = glazed donuts Z = custard filled donuts System: System in standard form:​

Respuesta :

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