The fruit shop shipped 40 baskets of fruit, among which apples accounted for (3/8) of the total baskets, bananas accounted for (2/5) of the total baskets, pears accounted for (1/2) of the bananas, and the rest were oranges, please You ask two math problems and answer them.
水果店运来40筐水果，其中苹果占总筐数的(3/8)，香蕉占总筐数的(2/5)，梨是香蕉筐数的(1/2)，其余是橘子，请你提出两个数学问题，并解答．
<gadget id="calculator">2 / 5</gadget>
<output>2/5 = around 0.4</output>

<gadget id="calculator">1 / 2</gadget>
<output>1/2 = around 0.5</output>

<gadget id="calculator">40 * (2/5) * (1/2)</gadget>
<output>8</output>

<gadget id="calculator">3 / 8</gadget>
<output>3/8 = around 0.375</output>

<gadget id="calculator">(3/8) + (2/5)</gadget>
<output>31/40 = around 0.775</output>

<gadget id="calculator">40 * (31/40)</gadget>
<output>31</output>

<result>31</result>