ANSWER
[tex]P(both\:sports)= \frac{2}{29} [/tex]
EXPLANATION
Let the number who plays both games be
[tex]x[/tex]
Then those who play only basketball
[tex] = 5 - x[/tex]
and those who play only baseball
[tex] = 16 - x[/tex]
We were given that 10 students play neither sports.
We can then write the following equation,
[tex](5 - x) + x + (16 - x) + 10 = 29[/tex]
This implies that,
[tex] - x + x - x = 29 - 5 - 16 - 10[/tex]
This simplifies to,
[tex] - x = - 2[/tex]
This gives us,
[tex]x = 2[/tex]
Therefore the number of students play both basketball and baseball is 2.
The probability that a student chosen from the class plays both basketball and baseball ball
[tex] = \frac{2}{29} [/tex]