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:
![m=(y_2-y_1)/(x_2-x_1)](https://img.qammunity.org/2023/formulas/mathematics/high-school/78uaqhwt0aws3qfwxigaftpihnmb1gzxtp.png)
Replace these values:
![m=(0-6)/(5-(-1))=(-6)/(6)=-1](https://img.qammunity.org/2023/formulas/mathematics/college/w8ni4fkdgicrdwngwz3utvzh6fr82dxhjh.png)
Then, m=-1
To find the general form use the next formula:
![y-6=-1(x-(-1)](https://img.qammunity.org/2023/formulas/mathematics/college/l9bh9yav0eovn0ml4jvckq2f25xh0817gm.png)
![y-6=-x-1](https://img.qammunity.org/2023/formulas/mathematics/college/w904u0mx5s57240s9bewptkigx62lzga3f.png)
Equal the whole expression to zero.
Add both sides by x:
![y-6+x=-x+x-1](https://img.qammunity.org/2023/formulas/mathematics/college/g972698ijwad4oap1pr14g2ihprjxbpnhy.png)
![y-6+x=-1](https://img.qammunity.org/2023/formulas/mathematics/college/y465x0qnoe8p96p2iux2mbfl5ka4w9rylu.png)
Add both sides by 1:
![y+x-6+1=-1+1](https://img.qammunity.org/2023/formulas/mathematics/college/gcogrfp6bqa5kxzqz4mmjnmt1fk8m386kh.png)
Then, the general form of the line equation is:
![y+x-5=0](https://img.qammunity.org/2023/formulas/mathematics/college/bu3q4l8znvljumrgw4njb1njkh6alif17d.png)