We know that 10% play team sports, that means 700*0.1=70 students play team sports. Out of those 70, 36 students play football, 22 play both sports, that means 36-22=14 play football only. Let's draw a diagram. We can see that so far we know that 22+14=36 students play team sports. We know that all together, 70 students play. That means 70-36=34 students play basketball only. Out of 700 students, 34 play basketball only, so the probability is 34/700 when choosing one, which equals 17/350 when simplified.