To get the porbability, first we need to count all the possible answers/solutions in our space.
The first box has 3 plain pencils + 9 pens = 12 items in this space
The second box has 5 color pencils + 3 crayons = 8 items in this space
The probability of getting a plain pencil from the first box could be represented by:
![\begin{gathered} \#\text{plain pencils / \# total items } \\ =\frac{3\text{ pencils}}{12\text{ items}}=(1)/(4) \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/college/u728le4hzm0a18w3t5rsbyduuwd1p7bcad.png)
Now, the probability of getting a color pencil from the second box is:
![=\frac{5\text{ color pencils}}{8\text{ items}}=(5)/(8)](https://img.qammunity.org/2023/formulas/mathematics/college/2hivsv6eukaz7yse7aki1466ymxi32id55.png)