There is a project that Team A needs to complete in 12 days. If Team A works for 3 days and Team B works for another 2 days, half of the project is completed. Now teams A and B work together for a certain number of days, and then team B completes the work alone. After the completion, it is found that the two periods of time are equal. With this arrangement, how many days will it take to complete the work?
有一项工程，甲队需12天完工，如果甲队工作3天后，乙队再做2天，则完成工程的一半．现由甲、乙两队合作若干天后，再由乙队单独完成，完工后发现两段时间相等，问这样安排，共用多少天完工？
<gadget id="calculator">1 / 12</gadget>
<output>1/12 = around 0.083333</output>

<gadget id="calculator">1 / 8</gadget>
<output>1/8 = around 0.125</output>

<gadget id="calculator">(1/12) + (1/8) + (1/8)</gadget>
<output>1/3 = around 0.333333</output>

<gadget id="calculator">1 / (1/3)</gadget>
<output>3</output>

<gadget id="calculator">3 * 2</gadget>
<output>6</output>

<result>6</result>