When a car travels from A to B, when it exceeds the midpoint by 40 kilometers, the ratio of the remaining distance to the traveled distance is 2:3, how many kilometers are there in total from A to B?
一辆车从甲地到乙地，当超过中点40千米时，剩下路程与已行路程比是2：3，求甲地到乙地共多少千米？
<gadget id="calculator">2 + 3</gadget>
<output>5</output>

<gadget id="calculator">3 / 5</gadget>
<output>3/5 = around 0.6</output>

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

<gadget id="calculator">(3/5) - (1/2)</gadget>
<output>1/10 = around 0.1</output>

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

<result>400</result>