the teacher separated her class of fifty-eight students into two groups. one group has 6 more than thrice as many students as the other group. how many students are in each group?