6. In two baskets, there are apples. If we take out $\frac{5}{6}$ from the first basket and $\frac{3}{4}$ of the number of apples in the second basket, 20 apples will remain in each basket. What is the total number of apples, and how many will remain in both baskets together if we take out $\frac{2}{3}$ of the apples from the first basket and leave $\frac{3}{5}$ of the apples in the second basket?
6. If we take out $\frac{5}{6}$ of the apples, $\frac{1}{6}$ of the apples remain in the first basket, which is 20 apples, so there were 120 apples in the first basket.

2 POINTS

If we take out $\frac{3}{4}$ of the apples, $\frac{1}{4}$ of the apples remain in the second basket, which is 20 apples, so there were 80 apples in the second basket. ..... 2 POINTS
In total, there were 200 apples in both baskets at the beginning. ..... 1 POINT
If $\frac{2}{3}$ of the apples are taken out, $\frac{1}{3}$ of 120 will remain in the first basket, which is 40 apples. ..... 2 POINTS
In the second basket, $\frac{3}{5}$ of 80 will remain, which is 48 apples. ..... 2 POINTS
In total, 88 apples will remain in both baskets. ..... 1 POINT