A project is leased by Team A, with a construction period of 80 days and a construction cost of 1 million yuan, which is undertaken by Team B, with a construction period of 100 days and a construction cost of 800,000 yuan. In order to save the construction period and project cost, during the actual construction, teams A and B will withdraw from one team after working together for a few days, and the other team will continue to complete the project. At the time of settlement, a total of 865,000 yuan was spent on the project, so how many days did Team A and Team B work together?
一项工程，由甲队承租，需工期80天，工程费用100万元，由乙队承担，需工期100天，工程费用80万元．为了节省工期和工程费用，实际施工时，甲乙两队合做若干天后撤出一个队，由另一个队继续做到工程完成．结算时，共支出工程费用86.5万元，那么甲乙两队合做了多少天？
<gadget id="calculator">86.5 - 80</gadget>
<output>6.5</output>

<gadget id="calculator">1 / 80</gadget>
<output>1/80 = around 0.0125</output>

<gadget id="calculator">100 * (1/80)</gadget>
<output>5/4 = around 1.25</output>

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

<gadget id="calculator">(5/4) - 1</gadget>
<output>1/4 = around 0.25</output>

<gadget id="calculator">6.5 / (1/4)</gadget>
<output>26</output>

<result>26</result>