[tex]f(x)=(x-8)(x-2)\\\\x-intercept\\\\f(x)=0\to x-8=0\ \vee\ x-2=0\\\\x=8,\ x=2[/tex]
The vertex x-coordinate is in the middle between the x-intercepts
Therefore
[tex]x=\dfrac{8+2}{2}=\dfrac{10}{2}=5[/tex]
The vertex y-coordinate is equal the value of function for x = 5:
[tex]f(5)=(5-8)(5-2)=(-3)(3)=-9[/tex]