Two ants A and B crawl from opposite ends of a log at the same time. When A climbs 40% of the whole journey, B crawls (5/4) m. When A completes the journey, the ratio of the distance traveled by B to the distance traveled is 4;1, How long is this piece of wood?
甲乙两只蚂蚁从一根木头的两端同时相对爬行，当甲爬全程的40%时，乙爬行(5/4)m，当甲爬完全程时，乙爬行路程和未爬行路程之比是4；1，这根木头有多长？
<gadget id="calculator">1 + 4</gadget>
<output>5</output>

<gadget id="calculator">4 / 5</gadget>
<output>4/5 = around 0.8</output>

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

<gadget id="calculator">40 / 100</gadget>
<output>2/5 = around 0.4</output>

<gadget id="calculator">(2/5) / (5/4)</gadget>
<output>8/25 = around 0.32</output>

<gadget id="calculator">(5/4) / (8/25)</gadget>
<output>125/32 = around 3.90625</output>

<result>125/32 = around 3.90625</result>