[填空题]
Samantha collects a baii f(7yef1o6 lsket of apples, however oa n69p1j8c6 :hvec jqvnly 80 \% of them are ripe. The probability that a ripe apple has a worm inside the apple is p . The probability that av6e c6 n a:chjp891jvqn 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.