Xiaomei bought 4 kg of pears and 5 kg of apples for 30 yuan. In the mall, it is 3.5 yuan per kilogram of apples. How much is it for each kilogram of pears?
小梅买了4㎏梨和5㎏苹果共用了30元，商场里每千克苹果3.5元，每千克梨多少元？
<gadget id="calculator">3.5 * 5</gadget>
<output>17.5</output>

<gadget id="calculator">30 - 17.5</gadget>
<output>12.5</output>

<gadget id="calculator">12.5 / 4</gadget>
<output>3.125</output>

<result>3.125</result>