( ( If ( ( a child ) ( ( inherits ( brown-eye genes ) ) ( from ( both parents ) ) ) ) ) ( , ( ( the child ) ( ( will ( have ( brown eyes ) ) ) . ) ) ) )
(ROOT (S (SBAR (IN If) (S (NP (DT a) (NN child)) (VP (VBZ inherits) (NP (JJ brown-eye) (NNS genes)) (PP (IN from) (NP (DT both) (NNS parents)))))) (, ,) (NP (DT the) (NN child)) (VP (MD will) (VP (VB have) (NP (JJ brown) (NNS eyes)))) (. .)))
If a child inherits brown-eye genes from both parents, the child will have brown eyes.
(ROOT (S (NP (NNP Children)) (VP (MD can) (VP (VB inherit) (NP (JJ brown) (NNS eyes)) (PP (IN from) (NP (PRP$ their) (NNS parents))))) (. .)))
Children can inherit brown eyes from their parents.