There are two piles of black and white Go pieces on the table. The black pieces (3/8) are equal to the white pieces (7/12). The black pieces are 40 more than the white pieces. How many pieces are there in this pile?
桌上有黑、白两堆围棋子，黑子的(3/8)等于白子的(7/12)，黑子比白子多40粒，这堆围棋子共有多少粒？
<gadget id="calculator">8 / 3</gadget>
<output>8/3 = around 2.666667</output>

<gadget id="calculator">12 / 7</gadget>
<output>12/7 = around 1.714286</output>

<gadget id="calculator">(8/3) - (12/7)</gadget>
<output>20/21 = around 0.952381</output>

<gadget id="calculator">40 / (20/21)</gadget>
<output>42</output>

<gadget id="calculator">(8/3) * 42</gadget>
<output>112</output>

<gadget id="calculator">(12/7) * 42</gadget>
<output>72</output>

<gadget id="calculator">112 + 72</gadget>
<output>184</output>

<result>184</result>