When three-eighths of all the baskets were collected, there were 24 kilograms more when they were full, and when the rest were collected, just six baskets were filled.
(1-3/8)÷6=5/48, which is 5/48 of the total number of each basket.
(3/8)÷(5/48)= 18/5=3+3/5, that is, the first 3/8 is full of 3 and 3/5 baskets.
24/(3/5) = 40, that is, each basket contains 40 kilograms.
40*(3+3/5+6)= 384, that is, * * * harvested 384 kilograms of tomatoes.
2、
There are x people in class a and 84-x people in class b:
x*5/8+(84-x)*3/4=58
x=40
84-x=44