Answer: Our required equation would be 
Step-by-step explanation:
Since we have given that
Amount that Anderson earns per hour = $6
According to question, Anderson earns $1 more than half of Carey's hourly rate.
Let the hourly rate of Carey be 'c'.
So, it becomes,

And the value of c would be

Hence, our required equation would be 
4+2x = x (x = student in smaller group)
4 + 2x + x = 28 (total # of students)
4+ 3x = 28
3x = 24
x = 8
8 students in the smaller group
4 + 2(8) = 20 students in the larger group
If u check your answer on google ithink u can get