The equation of the function is assumed to be a straight line is of the form,
[tex]y= mx+c[/tex], where [tex]m,c[/tex]
are the gradient and the y intercept respectively.
The gradient is computed using the formula for the gradient, i.e
[tex]m=\frac{y_2-y_1}{x_2-x_1} = \frac{-5-5}{2-0} = -5[/tex].
The equation of the line is,
[tex]y= -5x+c\\=>5=-5(0)+c\\=> c= 5[/tex]
The equation of the function is ,
[tex]y = -5x+5.[/tex].
The value of the x-coordinate when the y coordinate is 0 is found as shown below.
[tex]0=-5x+5\\=>x=1\\[/tex].
so the x-coordinate is 1.