The total number of apples left is equal to the number of apples in the original two wooden cases, so the number of apples taken out should be equal to 5-2 = the number of apples in three wooden cases.
That is, the original quantity of apples in each wooden box is: 300÷3= 100.
Seeking adoption is a satisfactory answer.