A basket of green food costs $25 and a basket of red food costs $18. If you buy 3 baskets of green food and red food, how much will you have to pay in total if you get $2 off for each basket of red food?
The 3 baskets of green food will cost $25 x 3 = $
<gadget id="calculator">25*3</gadget>
<output>75</output>
75.
The 3 baskets of red food will cost $18 x 3 = $
<gadget id="calculator">18*3</gadget>
<output>54</output>
54.
There will be $2 x 3 = $
<gadget id="calculator">2*3</gadget>
<output>6</output>
6 off for the baskets of red food.
So, the 3 baskets of red food will now cost $54 - $6 = $
<gadget id="calculator">54-6</gadget>
<output>48</output>
48.
You will have to pay $75 + $48 = $
<gadget id="calculator">75+48</gadget>
<output>123</output>
123 for all the baskets of food.

<result>123</result>