A team from the high school went on a science-and-math quiz show. The science questions were worth 10 points and the math questions were worth 3 points. The team answered a total of 10 questions and earned 65 points. How many questions did the team answer in each category?