Sixth-grade students in a school participated in a calligraphy competition and were divided into two groups, A and B, with a ratio of 5:6. If eight students are transferred from Group B,

Solution: suppose there are 5x people in group A and 6x people in group B. According to the meaning of the question:

5x=5/4(6x-8)

Multiply both sides of the equation by 4, and you will get

20x=5(6x-8)

20x=30x-40

10x=40

x=4

5x=20 6x=24

5x+6x=20+24=44