The road construction team repaired a section of road. On the first day, they repaired the full length (1/5) and 500 meters. On the second day, they repaired the rest (2/7), leaving 500 meters. How many meters is the total length of this section of road?
筑路队修一段路，第一天修了全长的(1/5)又500米，第二天修了余下的(2/7)，还剩500米，这段公路全长多少米？
<gadget id="calculator">2 / 7</gadget>
<output>2/7 = around 0.285714</output>

<gadget id="calculator">1 - (2/7)</gadget>
<output>5/7 = around 0.714286</output>

<gadget id="calculator">500 / (5/7)</gadget>
<output>700</output>

<gadget id="calculator">700 + 500</gadget>
<output>1_200</output>

<gadget id="calculator">1 / 5</gadget>
<output>1/5 = around 0.2</output>

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

<gadget id="calculator">1_200 / (4/5)</gadget>
<output>1_500</output>

<result>1_500</result>