Cost of each bags of flour = $2.50
Cost of each bags of butter = $3.75
Solution:
Let f be the bags of flour and b be the pounds of butter.
Cost of 20 bags of flour 16 pound of butter = 110
⇒ 20f + 16b = 110 -------------------- (1)
Cost of 30 bags of flour 12 pound of butter = 120
⇒ 30f + 12b = 120 -------------------- (2)
Equation (1) and (2) are the system of equations.
(2) ⇒ 30f + 12b = 120
Subtract 30f from both sides.
⇒ 12b = 120 – 30f
Divide by 12 on both sides.
-------------------- (3)
Substitute (3) in (1).
![$20f+16\left(\frac{120-30f}{12}\right)=110](https://tex.z-dn.net/?f=%2420f%2B16%5Cleft%28%5Cfrac%7B120-30f%7D%7B12%7D%5Cright%29%3D110)
![$20f+4\left(\frac{120-30f}{3}\right)=110](https://tex.z-dn.net/?f=%2420f%2B4%5Cleft%28%5Cfrac%7B120-30f%7D%7B3%7D%5Cright%29%3D110)
![$20f+4(40-10f)=110](https://tex.z-dn.net/?f=%2420f%2B4%2840-10f%29%3D110)
![$20f+160-40f=110](https://tex.z-dn.net/?f=%2420f%2B160-40f%3D110)
Subtract 160 from both sides.
![$-20f=-50](https://tex.z-dn.net/?f=%24-20f%3D-50)
Divide by –20, we get
![$f=\frac{5}{2}](https://tex.z-dn.net/?f=%24f%3D%5Cfrac%7B5%7D%7B2%7D)
f = 2.50
Substitute f = 2.5 in equation (3), we get
![$\Rightarrow b =\frac{120-30(2.50)}{12}](https://tex.z-dn.net/?f=%24%5CRightarrow%20b%20%3D%5Cfrac%7B120-30%282.50%29%7D%7B12%7D)
![$b=\frac{15}{4}](https://tex.z-dn.net/?f=%24b%3D%5Cfrac%7B15%7D%7B4%7D)
b = 3.75
Cost of each bags of flour = $2.50
Cost of each bags of butter = $3.75