There is no pattern(must be a mistake?)
Answer:
y=3
Step-by-step explanation:
♥️♥️♥️♥️♥️♥️♥️♥️♥️♥️♥️♥️♥️♥️
Suppose the number of students in one of the classes is :

So ;

_________________________________

So :


♥️♥️♥️♥️♥️♥️♥️♥️♥️♥️♥️♥️♥️♥️



♥️♥️♥️♥️♥️♥️♥️♥️♥️♥️♥️♥️♥️♥️
Compare :

Thus :

♥️♥️♥️♥️♥️♥️♥️♥️♥️♥️♥️♥️♥️♥️
This is the answer. Hope it helps
Ramseys change will be $7.50