Which mutation in a fruit fly could be passed on its offspring?

(1) a mutation in a cell of an eye that changes the color of the eye

(2) a mutation in a leg cell that causes the leg to be shorter

(3) a mutation in a sperm fell that changes the shape of the wing

(4) a mutation in a cell of the digestive tract that produces a different enzyme

note ; please explain why your answer is correct