Sunshine Elementary School participated in the tree planting activity. A batch of saplings were distributed to the fifth and sixth grades at a ratio of 3:5. The sixth grade was divided into 40 more than the fifth grade. How many saplings were allocated to the fifth grade?
阳光小学参加植树活动，一批树苗按3：5分给五、六年级，六年级比五年级多分40棵，五年级分得树苗多少棵？
<gadget id="calculator">5 - 3</gadget>
<output>2</output>

<gadget id="calculator">40 / 2</gadget>
<output>20</output>

<gadget id="calculator">20 * 3</gadget>
<output>60</output>

<result>60</result>