Answer:
The equation of the line is
![y=-2x-8](https://img.qammunity.org/2020/formulas/mathematics/middle-school/4ey8l4i9z6cxteqcjoh649pn9hgwd8ikhr.png)
Explanation:
Given slope
![m=-2](https://img.qammunity.org/2020/formulas/mathematics/middle-school/3ln2f92dxd1cgwjrj5scddsiclg9nbtowj.png)
and y-intercept
![=(0,-8)](https://img.qammunity.org/2020/formulas/mathematics/middle-school/zpiaqo2n8jvpigyjrarhijacnul80q4q17.png)
ie, y-intercept
![c=-8](https://img.qammunity.org/2020/formulas/mathematics/middle-school/iaqakzjdd8bsnsc0py8daudt4maf7mqcbr.png)
The slope intercept form of the line is
where m is slope and c is y-intercept.
Now we can find the equation of the line with slope and y-intercept.
By substituting the values of m and c in equation (1)
(1)
![y=mx+c](https://img.qammunity.org/2020/formulas/mathematics/high-school/xazxy0n1suceupahqa06x8vs8uqbq0w2eg.png)
![y=(-2)x+(-8)](https://img.qammunity.org/2020/formulas/mathematics/middle-school/6k9m6sazm6gg9s9y8u3ul45ouifegegeyi.png)
Which is the required equation of the line