Answer:
[tex]y = -\frac{2}{5}x + \frac{14}{5}[/tex]
Step-by-step explanation:
Equation of a line:
The equation of a line has the following format:
[tex]y = mx + c[/tex]
In which m is the slope and c is the y-intercept(value of y when x = 0).
A(2;2) and B(-3;4)
When we have two points, the slope is the change in y divided by the change in x. So
Change in y: 4 - 2 = 2
Change in x: -3 - 2 = -5
Slope: [tex]m = \frac{2}{-5} = -\frac{2}{5}[/tex]
So
[tex]y = -\frac{2}{5}x + c[/tex]
A(2;2)
When [tex]x = 2, y = 2[/tex]. We use this to find c.
[tex]y = -\frac{2}{5}x + c[/tex]
[tex]2 = -\frac{2}{5}(2) + c[/tex]
[tex]c = 2 + \frac{4}{5} = \frac{10}{5} + \frac{4}{5} = \frac{14}{5}[/tex]
So
[tex]y = -\frac{2}{5}x + \frac{14}{5}[/tex]