Answer:
[tex]y = - \frac{1}{2} x + 4[/tex]
Step-by-step explanation:
The equation of a line can be written in the form of y=mx+c, where m is the gradient and c is the y-intercept.
This is also known as the slope-intercept form.
[tex]\boxed{gradient = \frac{y1 - y2}{x1 - x2} }, \\ where \: (x1, y1) \: is \: the \: 1st \: coordinate \: and \: (x2, y2) \: is \: the \: 2nd \: coordinate.[/tex]
Find the value of m using the gradient formula above:
[tex]m = \frac{4 - 0}{0 - 8} \\ m = \frac{4}{ - 8} \\ m = - \frac{1}{2} [/tex]
Substitute m= -½ into the equation:
y= -½x +c
To find the value of c, substitute a pair of coordinates:
When x= 0, y=4,
[tex]4 = - \frac{1}{2} (0) + c \\ 4 = c \\ c = 4[/tex]
Thus, the equation of the line is y= -½x +4.