When coin 1 is flipped, it lands on heads with the probability 0.4 when coin 2 is flipped, it lands on heads with the probability 0.7. One of these coins is randomly selected and flipped 10 times.
(a) What is the probability that the coin lands on heads on exactly 7 of the 10 flips?
(b) Given that the first of these ten flips lands heads, Determine the conditional probability that exactly 7 of teh 10 flips lands on heads?