135k views
5 votes
Alex stocks up for winter. He buys 32 cans of vegetables. He pays 80 cent per can for tomatoes and 40 cents per can for corn, for a total cost of $18. How many cans of tomatoes does he buy?

1 Answer

3 votes
x = # of cans of tomatoes, y = # of cans of corn

x + y = 32.....y = 32 - x
0.80x + 0.40y = 18

0.80x + 0.40(32 - x) = 18
0.80x + 12.8 - 0.40x = 18
0.80x - 0.40x = 18 - 12.8
0.40x = 5.2
x = 5.2 / 0.40
x = 13 <=== 13 cans of tomatoes were bought

leaving (32 - 13) = 19 cans of corn bought
User Prmph
by
6.8k points
Welcome to QAmmunity.org, where you can ask questions and receive answers from other members of our community.