A small bakery sells a variety of different breads and buns. The bread is sold by the loaf, and each loaf is sold for the same price. The buns are sold by the dozen, and each dozen is sold for the same price. On Friday, the bakery collected $360 from selling 45 loaves of bread and 30 dozen buns. On Saturday, the bakery collected $470 from selling 65 loaves of bread and 35 dozen buns. At what price does the bakery sell each item for?

Respuesta :

x = loafs of bread and y = buns by the dozen

45x + 30y = 360......multiply by 35
65x + 35y = 470......multiply by -30
---------------------
1575x + 1050y = 12600 (result of multiplying by 35)
-1950  - 1050y = -14100 (result of multiplying by -30)
-------------------add
-375x = -1500
x = -1500 / -375
x = 4 <=== so the bakery sells each loaf of bread for $ 4

45x + 30y = 360
45(4) + 30y = 360
180 + 30y = 360
30y = 360 - 180
30y = 180
y = 180/30
y = 6 <=== and they sell a dozen buns for $ 6