It is 27 kilometers from A to B, and the ratio of the uphill road to the whole journey is 2:7. How many kilometers is the uphill road?
从甲地到乙地共27千米，其中上坡路与全程的比是2：7，上坡路有多少千米？
<gadget id="calculator">2 / 7</gadget>
<output>2/7 = around 0.285714</output>

<gadget id="calculator">27 * (2/7)</gadget>
<output>54/7 = around 7.714286</output>

<result>54/7 = around 7.714286</result>