A and B take a taxi together from the airport to go home. A gets off at (1/3) of the whole journey, and B gets off at the end point. The total fare is 24 yuan. The two decide to split the fare in proportion to the length of the trip, how much will B have to pay?
甲、乙两人从机场合乘一辆出租车回家，甲在全程的(1/3)处下车，乙在终点下车，共需要车费24元．两人决定按行程长度比例分摊车费，那么乙需要付多少钱？
<gadget id="calculator">1 + 3</gadget>
<output>4</output>

<gadget id="calculator">3 / 4</gadget>
<output>3/4 = around 0.75</output>

<gadget id="calculator">24 * (3/4)</gadget>
<output>18</output>

<result>18</result>