Answer:
3x+4y=18 and 5x+2y=16
x=the cost of the sodas
y=the cost of the iced teas
then you do
3x+4y=18, and 10x+4y=32 (the equation is still equivalent to 5x+2y=16, you just doubled it)
next,
10x+4y=32
-3x-4y=-18 (once the y's match, make one negative and one positive)
which leaves you with:
7x=14
which means
x=2
Plug the x value back into the equation, for this I chose to plug it back into 3x+4y=18
3(2)+4y=18
6+4y=18
4y=12
y=3
so the final answer is x=2, and y=3