Recall that the probability of drawn a mechanical pencil from a larger group is given by the quotient of the number of mechanical pencils divided the total number of pencils in the sample.
so that means:
being x the number of mechanical pencils and 25 the total of all pencils in the sample. Since they give as P as 3/5, we can solve for the number of mechanical pencils (x) using the equation: