Math problem!

1. The ratio of boys to girls is 3 to 5, which means there are three boys and five girls, a difference of two. Two copies correspond to 18 people, so one copy is 9 people, so there are 27 boys and 45 girls.

2, a pile of coal walked 4/5, then the remaining 1/5, B walked 75%, then the remaining 1/4, the remaining coal is equal, that is to say, A 1/5 is as much as B 1/4, so you Nine copies correspond to 72 tons, so one copy is 8 tons. So A has 40 tons and B has 32 tons.