To find the correct function, just plug in 10 and 2 to see if the function equals zero with both numbers.
f(x)=x^2-12x+20
f(10)=100-120+20
f(10)=0 --> that's what we want, so let's check the other number
f(x)=x^2-12x+20
f(2)=4-24+20
f(2)=0 --> perfect. this function has zeros at both x=10 and x=2
The function that has zeros at both x=10 and x=2 is f(x)=x^2-12x+20.