a class made equal teams of 5 for basketball and equal teamsof6 for volleyball. each student in the class was on a team. how many students might be in the class