You can set the sum of class one and class two as "1". The original number of class one accounts for 8/ 15 of the total number of class one and class two, and it accounts for 4/9 of the total number of class two after being transferred to 8. It can be seen that 8/ 15 is 4/45 more than 4/9, which is the proportion of eight people transferring. 8 ÷ 4/45 = 90 is the total number of people in Class One and Class Two. Use 90×8/ 15=48 people to get the original number of class one, and use 90-48=42 people to get the original number of class two.
It is listed as follows: 8+7= 15.
4+5=9
8/ 15-4/9=4/45
8÷4/45=90 (person)
90×8/ 15=48 (person)
90-48=42 (person)
A: There are 48 students in Class One and 42 students in Class Two.