A vegetable cart sells potatoes for $0.24 and tomatoes for $0.76. Fred bought 12 vegetables in total. He only bought potatoes and tomatoes. If Fred paid $6.52 total, how many potatoes did he buy?

Respuesta :

Let potatoes be a and tomatoes be b

[tex]\\ \sf\longmapsto a+b=12---(1)[/tex]

[tex]\\ \sf\longmapsto 0.24a+0.76b=6.52[/tex]

Simplify 2nd one

[tex]\\ \sf\longmapsto 0.06a+0.19b=1.63[/tex]--(2)

Solving both equations

  • b=7
  • a=12-7=5