Do swimmers count among those who like sports? If not, then
There are 17 swimmers, so
P(boy if swimming) = 8/17 = .47
There are 27 sports, so
P(girl if sports) = 7/27 = .26
Adjust the numbers if swimmers are counted among "sports"
and so on. How did you get your numbers?