We have two points, the first one is (-1,6), and the second is the x-intercept, the point (5,0).
First, find the slope using the next formula:
[tex]m=\frac{y_2-y_1}{x_2-x_1}[/tex]Replace these values:
[tex]m=\frac{0-6}{5-(-1)}=\frac{-6}{6}=-1[/tex]Then, m=-1
To find the general form use the next formula:
[tex]y-6=-1(x-(-1)[/tex][tex]y-6=-x-1[/tex]Equal the whole expression to zero.
Add both sides by x:
[tex]y-6+x=-x+x-1[/tex][tex]y-6+x=-1[/tex]Add both sides by 1:
[tex]y+x-6+1=-1+1[/tex]Then, the general form of the line equation is:
[tex]y+x-5=0[/tex]