A and B are walking towards each other from two places at the same time. When they meet, B has traveled 40 meters longer than A. It is known that A has traveled 45% of the whole journey. How many meters are the distance between the two places?
甲、乙两人同时从两地相向而行，相遇时乙比甲多行了40米，已知甲行了全程45%，两地相距多少米？
<gadget id="calculator">45 / 100</gadget>
<output>9/20 = around 0.45</output>

<gadget id="calculator">1 - (9/20) - (9/20)</gadget>
<output>1/10 = around 0.1</output>

<gadget id="calculator">40 / (1/10)</gadget>
<output>400</output>

<result>400</result>