Chad has 100 apples and each apple has different sizes and different price ranges. Each small apple cost $1.5, medium apple cost $2, and big apples cost $3. If Donny bought 6 small and medium apples and also 8 big apples, how much will Donny have to pay for all of it?
Donny was charged $1.5 x 6 = $
<gadget id="calculator">1.5*6</gadget>
<output>9</output>
9 for the small apples.
He was charged $2 x 6 = $
<gadget id="calculator">2*6</gadget>
<output>12</output>
12 for the medium apples.
And he was also charged $8 x 3 = $
<gadget id="calculator">8*3</gadget>
<output>24</output>
24 for the big apples.
Therefore, Donny has to pay $9 + $12 + $24 = $
<gadget id="calculator">9+12+24</gadget>
<output>45</output>
45 for all the apples.

<result>45</result>