car rally has two races of equal distance. The first race starts from Ping Road and starts uphill at 26 kilometers from the midpoint; after passing the midpoint for 4 kilometers, it is all downhill; the second race also starts from Ping Road and starts downhill at 4 kilometers from the midpoint Slope, after passing the midpoint of 26 kilometers, it is all uphill. It is known that a racing car takes the same time in these two races; the speed at the start of the second race is the speed at the start of the first race (5/6); and the speed will be reduced by 25% when encountering an uphill, When going downhill, the speed will increase by 25%. Then, how many kilometers are the distances of each race.
汽车拉力赛有两个距离相等的赛程．第一赛程由平路出发，离中点26千米处开始上坡；通过中点行驶4千米后，全是下坡路；第二赛程也由平路出发，离中点4千米处开始下坡，通过中点26千米后，全是上坡路．已知某赛车在这两个赛程中所用的时间相同；第二赛程出发是的速度是第一赛程出发是速度的(5/6)；而遇到上坡时速度就要减少25%，遇到下坡时速度就要增加25%．那么，每个赛程的距离各是多少千米．
<gadget id="calculator">30 / 4.5</gadget>
<output>6.666667</output>

<gadget id="calculator">45 / 8</gadget>
<output>45/8 = around 5.625</output>

<gadget id="calculator">22 / (45/8)</gadget>
<output>176/45 = around 3.911111</output>

<gadget id="calculator">25 / 4</gadget>
<output>25/4 = around 6.25</output>

<gadget id="calculator">30 / (25/4)</gadget>
<output>24/5 = around 4.8</output>

<gadget id="calculator">22 / 5</gadget>
<output>22/5 = around 4.4</output>

<gadget id="calculator">(176/45) - (24/5) - (22/5)</gadget>
<output>-238/45 = around -5.288889</output>

<gadget id="calculator">6.666667 + (-238/45)</gadget>
<output>1.377778</output>

<gadget id="calculator">16 / 75</gadget>
<output>16/75 = around 0.213333</output>

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

<gadget id="calculator">1 / 6</gadget>
<output>1/6 = around 0.166667</output>

<gadget id="calculator">8 / 45</gadget>
<output>8/45 = around 0.177778</output>

<gadget id="calculator">(1/5) - (1/6) - (8/45)</gadget>
<output>-13/90 = around -0.144444</output>

<gadget id="calculator">(16/75) + (-13/90)</gadget>
<output>31/450 = around 0.068889</output>

<gadget id="calculator">1.377778 / (31/450)</gadget>
<output>20.000003</output>

<gadget id="calculator">20.000003 + 26</gadget>
<output>46.000003</output>

<gadget id="calculator">46.000003 * 2</gadget>
<output>92.000006</output>

<result>92.000006</result>