To calculate the probability of choosing a triangle, we use the Probability Formula.
P=Number of favorable outcomes/Number of possible outcomes
In our exercise the number of possible outcomes is 6, as we have six polygons. Among them there are three triangles, so the number of favorable outcomes is 3. Now we can calculate P(triangle).
P=Number of favorable outcomes/Number of possible outcomes