Final answer:
The probability of selecting a yellow shape from the container of shapes is 9/32.
Step-by-step explanation:
To find the probability of selecting a yellow shape, we need to divide the number of yellow shapes by the total number of shapes.
In this case, we have 45 yellow shapes out of a total of 45 + 50 + 65 = 160 shapes.
Therefore, the probability of selecting a yellow shape is 45/160, which simplifies to 9/32. So, the answer is D. 9/32.