# Alex stocks up for winter. He buys 36 cans of vegetable. He pays 80 cents per can for tomatoes and 40 cents per can for corn, for a total cost of $20.80. how many cans of tomatoes does he buy? ##### 1 Answer Sep 24, 2015 16 cans of tomatoes and 20 cans of corn #### Explanation: Define: $\textcolor{w h i t e}{\text{XXXX}} t =$number of cans of tomatoes $\textcolor{w h i t e}{\text{XXXX}} c =$number of cans of corn We are told [1]$\textcolor{w h i t e}{\text{XXXX}} t + c = 36$[2]$\textcolor{w h i t e}{\text{XXXX}} 80 t + 40 c = 2080$Note that [2] can be simplified (by dividing by 40) to give [3]$\textcolor{w h i t e}{\text{XXXX}} 2 t + c = 52$Subtracting [1] from [3] [4]$\textcolor{w h i t e}{\text{XXXX}} t = 16$Substituting $16$for $t$in [1] [5]$\textcolor{w h i t e}{\text{XXXX}} 16 + c = 36$$\rightarrow$[6]$\textcolor{w h i t e}{\text{XX}} c = 20\$

(P.S. can you tell me where Alex is buying his canned vegetables? I haven't been able to find any this cheap for decades.)