Let's denote the average marks of the second class as \( x \).

The total marks for the first class can be calculated by multiplying the average marks by the number of students:
Total marks for the first class = Average marks of the first class * Number of students in the first class
Total marks for the first class = 45 * 35

The total marks for the second class can be calculated similarly:
Total marks for the second class = Average marks of the second class * Number of students in the second class
Total marks for the second class = x * 55

The average marks of all the students is given as 57.22222222222222, and the total number of students is 35 + 55. The total marks for all the students can be calculated by multiplying the average marks by the total number of students:
Total marks for all students = Average marks of all students * Total number of students
Total marks for all students = 57.22222222222222 * (35 + 55)

Now, we know that the total marks for all students is the sum of the total marks for the first class and the total marks for the second class:
Total marks for all students = Total marks for the first class + Total marks for the second class

Substituting the values we have:
57.22222222222222 * (35 + 55) = 45 * 35 + x * 55

Now we can solve for \( x \):
57.22222222222222 * 90 = 45 * 35 + x * 55
5140 = 1575 + x * 55
5140 - 1575 = x * 55
3565 = x * 55
x = 3565 / 55
x = 64.81818181818181

Therefore, the average marks of the second class is approximately 64.82.
두 번째 수업의 평균 점수를 \( x \).

첫 번째 수업의 총 점수는 평균 점수에 학생 수를 곱하여 계산할 수 있습니다:
첫 번째 수업의 총 점수 = 첫 번째 수업의 평균 점수 * 첫 번째 수업의 학생 수
첫 번째 수업의 총 점수 = 45 * 35

두 번째 수업의 총 점수는 비슷하게 계산할 수 있습니다:
두 번째 수업의 총 점수 = 두 번째 수업의 평균 점수 * 두 번째 수업의 학생 수
두 번째 수업의 총 점수 = x * 55

모든 학생의 평균 점수는 57.222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222