From A to B, it takes Xiao Hong 6 hours and Xiao Li 8 hours. Now they are walking towards each other from both places at the same time, and they meet at a distance of 12 kilometers from the midpoint. How many kilometers are the distance between A and B?
从甲地到乙地，小红要6小时，小李要8小时，现在两人同时从两地相向而行，在离中点12千米处相遇，甲、乙两地相距多少千米？
<gadget id="calculator">12 * 2</gadget>
<output>24</output>

<gadget id="calculator">1 / 6</gadget>
<output>1/6 = around 0.166667</output>

<gadget id="calculator">1 / 8</gadget>
<output>1/8 = around 0.125</output>

<gadget id="calculator">(1/6) + (1/8)</gadget>
<output>7/24 = around 0.291667</output>

<gadget id="calculator">1 / (7/24)</gadget>
<output>24/7 = around 3.428571</output>

<gadget id="calculator">(1/6) * (24/7)</gadget>
<output>4/7 = around 0.571429</output>

<gadget id="calculator">(1/8) * (24/7)</gadget>
<output>3/7 = around 0.428571</output>

<gadget id="calculator">(4/7) - (3/7)</gadget>
<output>1/7 = around 0.142857</output>

<gadget id="calculator">24 / (1/7)</gadget>
<output>168</output>

<result>168</result>