and B spend the same amount of money to buy a box of apples together. A shares 12 kilograms, and B shares 18 kilograms. As a result, B wants to give A 6 yuan. How much is the apple per kilogram?
甲乙两人拿出同样多的钱，合买一箱苹果，甲分去12千克，乙分去18千克，结果乙要给甲6元，苹果每千克多少元？
<gadget id="calculator">18 - 12</gadget>
<output>6</output>

<gadget id="calculator">6 / 2</gadget>
<output>3</output>

<gadget id="calculator">6 / 3</gadget>
<output>2</output>

<result>2</result>