When calculating probability, we are comparing the number of favorable outcomes to the number of possible outcomes. To calculate the probability that a randomly chosen pen is black we will use the Probability Formula.
P=Favorable Outcomes/Possible Outcomes
There is a total of 5 pens, so the number of possible outcomes is 5. Out of these, 2 are black, which is the number of favorable outcomes. Now we have enough information to calculate P(black pen).