Answer:
The cost of the candy is
$5 for strawberry taffy and
$4 for banana taffy
Step-by-step explanation:
Here we have
Let the strawberry taffy be = S and
the banana taffy = B
The system of equation becomes
4·S + 6·B = $44......................(1)
2·S + 5·B =$30.......................(2)
To solve the equations, we multiply equation (2) by 2 to get
2×(2·S + 5·B) =$30. × 2
4·S +10·B = $60.......................(3)
We subtract equation (1) from equation (3) to get
(4·S +10·B)-(4·S + 6·B) = $60 - $44
4·B = $16 or B = $16/4 = $4
Therefore, from equation (2) we have
2·S + 5×$4 =$30 or
2·S = $30 - $20 = $10
S = $10/2 = $5
The candy costs
Strawberry taffy = $5 and
Banana taffy = $4