Grade 8: 8 + 2 + 12 + 3 + 5 = 30 students
Grade 9: 6 + 3 + 10 + 2 + 4 = 25 students
8th graders who prefer football: 12
Percentage: 12/30 * 100 = 40%
Answer: 40%
8th graders who prefer baseball: 2
Percentage: 2/30 * 100% = 6.66%
Answer: 7%
9th graders who prefer soccer: 4
Percentage: 4/25 * 100% = 16%
Answer: 16%