Xiao Wang has a meeting from A to B. If he travels 40 kilometers per hour, he will be 0.2 hours late; if he travels 50 kilometers per hour, he will arrive 1 hour early. How many kilometers are there between A and B?
小王从A地到B地开会，如果每小时行40千米，就会迟到0.2小时；如果每小时行50千米，就会早到1小时，A，B两地相距多少千米？
<gadget id="calculator">40 * 0.2</gadget>
<output>8</output>

<gadget id="calculator">50 * 1</gadget>
<output>50</output>

<gadget id="calculator">8 + 50</gadget>
<output>58</output>

<gadget id="calculator">50 - 40</gadget>
<output>10</output>

<gadget id="calculator">58 / 10</gadget>
<output>29/5 = around 5.8</output>

<gadget id="calculator">(29/5) - 1</gadget>
<output>24/5 = around 4.8</output>

<gadget id="calculator">(24/5) * 50</gadget>
<output>240</output>

<result>240</result>