Answer:
flour $42 , bag of sugar $58
Step-by-step explanation:
let f represent flour and s represent sugar, then
7f + 5s = 584 → (1)
5f + 3s = 384 → (2)
Multiplying (1) by 3 and (2) by - 5 and adding will eliminate s
21f + 15s = 1752 → (3)
- 25f - 15s = - 1920 → (4)
Add (3) and (4) term by term to eliminate s , that is
- 4f = - 168 ( divide both sides by - 4 )
f = 42
Substitute f = 42 into either of the 2 equations and solve for s
Substituting into (1)
7(42) + 5s = 584
294 + 5s = 584 ( subtract 294 from both sides )
5s = 290 ( divide both sides by 5 )
s = 58
The cost of a bag of flour is $42 and cost of sugar is $58