Answer:
The equation of the line is [tex]y = -\frac{2}{5}x + \frac{24}{5}[/tex]
Step-by-step explanation:
Equation of a line:
The equation of a line has the following format:
[tex]y = mx + b[/tex]
In which m is the slope and b is the y-intercept.
Slope:
Having two points, the slope is given by the change in y divided by the change in x. Points (2,4) and (7,2), so:
Change in y: 2 - 4 = -2
Change in x: 7 - 2 = 5
Slope: [tex]m = \frac{-2}{5} = -\frac{2}{5}[/tex]
So
[tex]y = -\frac{2}{5}x + b[/tex]
(2,4)
This means that when [tex]x = 2, y = 4[/tex]. So
[tex]y = -\frac{2}{5}x + b[/tex]
[tex]4 = -\frac{2}{5}(2) + b[/tex]
[tex]b = 4 + \frac{4}{5} = \frac{20}{5} + \frac{4}{5} = \frac{24}{5}[/tex]
The equation of the line is [tex]y = -\frac{2}{5}x + \frac{24}{5}[/tex]