Answer:
Reese's Peanut Butter Cups: 10.8
York Peppermint Patties: 2.6
Step-by-step explanation:
Let Reese's Peanut Butter Cups be r and York Peppermint Patties y.
Step 1: Make equations.
1) If you buy 3 bags of Reese's Peanut Butter Cups and 6 bags of York Peppermint Patties, it costs $48.
[tex]3r + 6y = 48[/tex]
2) If you buy 4 bags of Reese's Peanut Butter Cups and 3 bags of York Peppermint Patties, it costs $51.
[tex]4r + 3y = 51[/tex]
Step 2: Solve the system of equations.
We have system of equations. I'll solve them by elimination.
[tex](1.) \text{ } 3r + 6y = 48\\(2.) \text{ } 4r + 3y = 51[/tex]
Multiply the second equation with 2 so we'll get 6y.
[tex](1.) \text{ } 3r + 6y = 48\\(2.) \text{ } 8r + 6y = 102[/tex]
Now let's subtract second equation from first and solve for r.
[tex]3r - 8r + 6y - 6y = 48 - 102\\-5r = -54\\r = \frac{-54}{-5}\\r = \$10.8[/tex]
To get y let's substitute the value of r in first equation.
[tex]3r + 6y = 48\\3 \cdot 10.8 + 6y = 48\\32.4 + 6y = 48\\6y = 15.6\\y = \$2.6[/tex]