Ok so first there is 44 kids who chose basketball and 28 more who chose soccer, making it basketball=44 kids and soccer=72 kids.
Then you have 15 ninth graders and when you subtract that from the 44 you have 29 tenth graders. Doing the same thing with the soccer, you have 34 ninth graders and 38 tenth graders who chose soccer.
Hope this helped