What is the probability that a randomly chosen balloon animal is yellow or is shaped like a dog?

from the question,
P(that the balloon animal is yellow) = 0.7
P(the balloon animal has a dog shape) = 0.6
P(that it is yellow and is shaped like a dog) = 0.5
We are to find the probability that a randomly selected balloon is yellow or is shaped like a dog is
[tex]\begin{gathered} P(\text{balloon yellow or is shaped like a dog) = 0.7 + 0.6 - 0.5} \\ P(\text{balloon yellow or is shaped like a dog) = 0.8} \end{gathered}[/tex]Therefore, the probability that a randomly selected balloon is yellow or is shaped like a dog is 0.8