Using it's concept, it is found that the probability that the selected student is wearing a black shirt is given by:
[tex]p = \frac{n}{n + 15}[/tex]
A probability is given by the number of desired outcomes divided by the number of total outcomes.
In this problem, we have that out of n + 6 + 9 = n + 15 students, n are wearing black shirts, hence the probability is given by:
[tex]p = \frac{n}{n + 15}[/tex]
More can be learned about probabilities at https://brainly.com/question/14398287
#SPJ1