The price of a tub of ice cream is now $12 - $2 = $<<12-2=10>>10.
So the two tubs of ice cream amount to $10 x 2 = $<<10*2=20>>20.
There are 10/5 = <<10/5=2>>2 sets of 5 cans of juice.
Thus, you will pay $2 x 2 = $4 for the 10 cans of juice.
Therefore, you will pay a total of $20 + $4 = $<<20+4=24>>24.
#### 24