Answer:
[tex]y=-4x+8[/tex]
Step-by-step explanation:
step 1
Find the slope
The formula to calculate the slope between two points is equal to
[tex]m=\frac{y2-y1}{x2-x1}[/tex]
take two points from the data
(0,8), and (8,-24).
substitute
[tex]m=\frac{-24-8}{8-0}[/tex]
[tex]m=\frac{-32}{8}[/tex]
[tex]m=-4[/tex]
step 2
Find the equation of he line in slope intercept form
[tex]y=mx+b[/tex]
we have
[tex]m=-4[/tex]
[tex]b=8[/tex] ----> the y-intercept is given
substitute
[tex]y=-4x+8[/tex]