[填空题]
Samantha collects a basket of apples, however only vys+m :khm.+j i 7kgl580 \% b3hg-+(:zrh d lqc+er of them are ripe. The probability that a ripe apple has a worm inside the apple is p . The probability t r+hb:-cdeq 3 rhgz(+lhat an unripe apple has a worm inside the apple is 0.1 .
1. Complete the following tree diagram.
2.Find the value of p, assuming that exactly half of all apples have worms inside.