There are 100 people in class 61 and class 62. If one seventh of class 61 and two people in class 62 are exchanged, the number of people in the two classes will be equal. How many people are there in class 62

There are 100 people in class 61 and class 62. If one seventh of class 61 and two people in class 62 are exchanged, the number of people in the two classes will be equal. How many people are there in class 62

There are 62 x people and 61 100-x people
6(100-x)/7+2=x+(100-x)/7-2
600-6x+14=7x+100-x-14
7x+6x-x=600+14-100+14
12x=528
X = 44
There were 44 students in class 62