Pranav and molly are selling pies for a school fundraiser. Customers can buy blueberry pies and pumpkin pies. Pranav sold 6 blueberry pies and 4 pumpkin pies for a total of $106. Molly sold 6 blueberry pies and 3 pumpkin pies for a total of $90. Find the cost of each of one blueberry pie and one pumpkin pie

Respuesta :

Answer: The cost of blueberry pies is $7 and the cost of pumpkin pie is $16.

Step-by-step explanation:

Let the number of blueberry pies be x

Let the number of pumpkin pies be y

According to question, we have

[tex]6x+4y=\$106------------(1)\\6x+3y=\$90--------------(2)[/tex]

Bring the value of 6x from eq(2) i.e.

[tex]6x+3y=\$90\\\\6x=90-3y[/tex]

And put it in the eq(1), we get,

[tex]6x+4y=\$106\\\\90-3y+4y=\$106\\\\90+y=\$106\\\\y=\$106-\$90\\\\y=\$16[/tex]

and put the value of y in the equation i.e.

[tex]6x=90-3y\\\\6x=90-3\times 16\\\\6x=90-48\\\\6x=42\\\\x=\frac{42}{6}=\$7[/tex]

Hence, the cost of blueberry pies is $7 and the cost of pumpkin pie is $16.