From the data given in this question, we can infer that Joe spends more money on buying Coke than buying Sprite.
Total amount of money he spends comprises the following calculations
Price of a can of Coke= $2
Price of a can of Sprite= $2
Joe buys 30 cans of Coke. So he spends $2 * 30 = $60 on Coke
Joe buys 06 cans of Sprite. So he spends $2 * 06= $12 on Sprite
So in total he spends $60 + $12 = $72 on both Coke and Sprite