6.2. Masha and the Bear ate a basket of raspberries and 40 pies, starting and finishing at the same time. At first, Masha was eating raspberries, and the Bear was eating pies, then (at some point) they switched. The Bear ate both raspberries and pies 3 times faster than Masha. How many pies did Masha eat, if they ate the raspberries equally?
Answer: 4 pies. Solution: The bear ate his half of the raspberries three times faster than Masha. This means Masha ate pies for three times less time than the bear. Since she eats three times slower, she ate 9 times fewer pies than the bear. Dividing the pies in the ratio of $9: 1$, we see that Masha got the 10th part, that is, 4 pies.

Criterion: Correct answer - no less than 2 points, with full justification - 7 points.