In a coat-color gene, the dominant allele B codes for brown coat in mice, while the recessive b allele codes for yellow coat. However, when two copies of the B allele are present in an embryo, the individual dies before birth.
What is the proportion of brown and yellow offspring when a brown mouse mates with a yellow mouse? And What is the proportion of brown and yellow offspring when a brown mouse mates with a brown mouse?