please help i dont understand

Given:
Number of spheres = 2
Number of prisms = 3
Number of pyramids = 5
To find:
The probability that a pyramid will be selected.
Solution:
We have,
Favorable outcomes = Number of pyramids
= 5
Total outcomes = Total number of figures
= [tex]2+3+5[/tex]
= [tex]10[/tex]
Now, the required probability is:
[tex]\text{Probability}=\dfrac{\text{Favorable outcomes}}{\text{Total outcomes}}[/tex]
[tex]\text{Probability}=\dfrac{5}{10}[/tex]
[tex]\text{Probability}=0.5[/tex]
Therefore, the probability that a pyramid will be selected is 0.5.