In a certain Algebra 2 class of 28 students, 8 of them play basketball and 14 of them play baseball. There are 12 students who play neither sport. What is the probability that a student chosen randomly from the class plays basketball or baseball?

If x play both, then

8+14 - x = 28-12
x = 6
so, 16/28 play something