[填空题]
Samantha collects a bpoz 53p i:zu/*u4cb24r hb 6c+yhouoxasket x;12frma g0(dpfn9s xof apples, however only 80 \% of them are ripe. The probability that a ripe apple has a worm inside the apple is p . The probability that an unripe apple has a wor 1rm sd2(gxn;0fp9xfa m 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.