When x=1, 4, or 10, that is: x-1=0, x-4=0, or x-10=0, the function of x, y=f(x), with roots comes to 0.
So, f(1)=0, f(4)=0, and f(10)=0. Therefore, one of the forms** of y=f(x) would be:
y=√(x-1)·√(x-4)·√(x-10)
** the following would be the one as well: y=(√x - 1)(√x + 1)(√x - 2)(√x + 2)(√x - √10)(√x + √10)