The number of class 61 is 90% of that of class 62. Class 62 has five more people than class 61. How many people are there in class 62 and how many in class 61

The number of class 61 is 90% of that of class 62. Class 62 has five more people than class 61. How many people are there in class 62 and how many in class 61

If the number of class 62 is a, the number of class 61 is 0.9A,
Because there are five more people in class 62 than in class 61, a-0.9a = 5
So a = 50, 0.9A = 45
There are 45 people in class 61
There are 50 people in class 62