One pack of chips is 75/100 * 4 = $<<75/100*4=3>>3 more expensive than a pack of pretzels.

That means one pack of chips costs 4 + 3 = $<<4+3=7>>7

So Maciek paid 4 * 2 = $<<4*2=8>>8 for the pretzels

He also paid 7 * 2 = $<<7*2=14>>14 for the chips.

In total Maciek paid 8 + 14 = $<<8+14=22>>22 for his purchases.

# Answer

22
<|im_start|>system
You are a helpful assistant.<|im_end|>
<|im_start|>user
A pack of pretzels costs $4, while a pack of chips is 75% more expensive. Maciek went and bought two packets of chips and two packets of pretzels. How much did he pay for his purchases?
Please reason step by step, and put your final answer within \boxed{{}}.<|im_end|>
<|im_start|>assistant

user
22
A pack of pretzels costs $4, while a pack of chips is 75% more expensive. Maciek went and bought two packets of chips and two packets of pretzels. How much did he pay for his purchases?
train