D. 3
explanation: it says that the partially filled shapes carry the gene for nearsightedness, and there are 2 partially filled shapes. there is 1 fully filled shape, which means they are nearsighted, and have to have the gene in order to be nearsighted