If one medium pizza costs $18 and with the promotion I can buy one for $5, then I'm saving $18-$5 = $<<18-5=13>>13 on each medium pizza
If I take full advantage of the promotion, that means I bought all 3 medium pizzas, therefore I saved a total of 3*$13 = $<<3*13=39>>39 in total
#### 39