Solution:
Amount of Oatypop that contains the prize = 40%
Amount of Oatypop which doesn't contain the prize = (100-40)=60%
Probability that hannah will win a prize
= S +F S +F F S+FF F S+FF F F S+.....till infinity.where F= Failure,S= Success
=
or 60%
Probability that Hannah only has to buy 3 or less boxes before getting a prize= (S) and ( F S) and (FF S) and (F F F S)
=
= 87.04 %