Class 61 has six more students than class 62. If class 62 transfers two students to class 61, the ratio of class 61 to class 62 is 4:3. How many students are there in each class

Class 61 has six more students than class 62. If class 62 transfers two students to class 61, the ratio of class 61 to class 62 is 4:3. How many students are there in each class

Class 1: (6 + 2 × 2) / (4-3) × 4-2 = 38
Class 2: 38-6 = 32