Mr. Sasha teaches 4 math classes, with the same number of students in each class. Of those students, 80 are sixth graders and 40 are fifth graders. Write an equation to determine whether there are 22, 25, or 30 students in each class. How many are in each class?