Solution to Mendel's First Law