Two cars, passenger and freight, travel a section of the road together, the passenger car travels 38% of the journey, and the truck travels 49% of the journey. The two cars traveled a total of 870 kilometers. How many kilometers are there in total?
客货两辆汽车共行一段路，客车行完全程的38%，货车行了全程的49%．两车共行了870千米，这段路一共有多少千米？
<gadget id="calculator">38 / 100</gadget>
<output>19/50 = around 0.38</output>

<gadget id="calculator">49 / 100</gadget>
<output>49/100 = around 0.49</output>

<gadget id="calculator">(19/50) + (49/100)</gadget>
<output>87/100 = around 0.87</output>

<gadget id="calculator">870 / (87/100)</gadget>
<output>1_000</output>

<result>1_000</result>