James visits 20 houses to try and make a sale.  He manages to sell something in every house.  The next day he visits twice as many houses but only sold to 80% of houses.  If he sold two things at each house in each of the two days, how many items did he sell?
The second day he visited 20*2=
<gadget id="calculator">20*2</gadget>
<output>40</output>
40 houses.
So he sold things at 40*.8=
<gadget id="calculator">40*.8</gadget>
<output>32</output>
32 houses.
So in total he sold things at 20+32=
<gadget id="calculator">20+32</gadget>
<output>52</output>
52 houses.
That means he sold 52*2=
<gadget id="calculator">52*2</gadget>
<output>104</output>
104 things.

<result>104</result>