shopping clerk in a commercial building predicted the best-selling market for a kind of emergency shirt, so he bought the shirt for 40,000 yuan, and the supply was in short supply after it hit the market. A commercial building purchased a second batch of shirts for 88,000 yuan, twice the amount purchased in the first batch, but the unit price was 4 yuan more expensive. When the commercial building sells these shirts, each piece is priced at 58 yuan, and the last 150 pieces are sold at a 20% discount, and they are sold out quickly. How much profit did the commercial building make in these two transactions?
某商厦进货员预测一种应急衬衫畅销市场，就用4万元购进这种衬衫，面市后果然供不应求．某商厦又用8.8万元购进了第二批衬衫，所购数量是第一批购进量的2倍，但单价贵了4元．商厦销售这种衬衫时每件定价都是58元，最后剩下150件按8折销售，很快售完．在这两笔生意中，商厦共盈利多少元？
<gadget id="calculator">88_000 / 2</gadget>
<output>44_000</output>

<gadget id="calculator">44_000 - 40_000</gadget>
<output>4_000</output>

<gadget id="calculator">4_000 / 4</gadget>
<output>1_000</output>

<gadget id="calculator">1_000 * 2</gadget>
<output>2_000</output>

<gadget id="calculator">2_000 - 150</gadget>
<output>1_850</output>

<gadget id="calculator">40 + 4</gadget>
<output>44</output>

<gadget id="calculator">58 - 44</gadget>
<output>14</output>

<gadget id="calculator">1_850 * 14</gadget>
<output>25_900</output>

<gadget id="calculator">80 / 100</gadget>
<output>4/5 = around 0.8</output>

<gadget id="calculator">58 * (4/5)</gadget>
<output>232/5 = around 46.4</output>

<gadget id="calculator">(232/5) - 44</gadget>
<output>12/5 = around 2.4</output>

<gadget id="calculator">150 * (12/5)</gadget>
<output>360</output>

<gadget id="calculator">25_900 + 360</gadget>
<output>26_260</output>

<gadget id="calculator">40_000 / 1_000</gadget>
<output>40</output>

<gadget id="calculator">58 - 40</gadget>
<output>18</output>

<gadget id="calculator">1_000 * 18</gadget>
<output>18_000</output>

<gadget id="calculator">26_260 + 18_000</gadget>
<output>44_260</output>

<result>44_260</result>