Two cars drive from A and B oppositely at the same time. The speed ratio of the two cars is 5:4. When they meet, they are 20 kilometers away from the midpoint. How many kilometers are the distance between A and B?
两辆汽车同时从从甲、乙两地相对开出，两车速度比为5：4，相遇时离中点20千米，甲、乙两地相距多少千米？
<gadget id="calculator">5 + 4</gadget>
<output>9</output>

<gadget id="calculator">5 / 9</gadget>
<output>5/9 = around 0.555556</output>

<gadget id="calculator">1 / 2</gadget>
<output>1/2 = around 0.5</output>

<gadget id="calculator">(5/9) - (1/2)</gadget>
<output>1/18 = around 0.055556</output>

<gadget id="calculator">20 / (1/18)</gadget>
<output>360</output>

<result>360</result>