Answer:
The equation of the line is:
![y = x - 3](https://img.qammunity.org/2020/formulas/mathematics/college/vh1iuim50g3css0lplp931hz42swmcp0bz.png)
Explanation:
The general equation of a straight line is given by:
![y = ax + b](https://img.qammunity.org/2020/formulas/mathematics/college/rcoh13uzttt6u5lp234rnv5l0drwbzwsmk.png)
Being given two points, we can replace x and y, solve the system and find the values for a and b.
Solution:
The line goes through the point
. It means that when
. Replacing in the equation:
![y = ax + b](https://img.qammunity.org/2020/formulas/mathematics/college/rcoh13uzttt6u5lp234rnv5l0drwbzwsmk.png)
![-1 = 2a + b](https://img.qammunity.org/2020/formulas/mathematics/college/3r6v2jj6bu5m6ai1b07fj7g73tmorl8p0e.png)
![2a + b = -1](https://img.qammunity.org/2020/formulas/mathematics/college/atn7wkl506vctkdfc3x77wcgpvlyo516v5.png)
The line also goes through the point
. It means that when
. Replacing in the equation:
![y = ax + b](https://img.qammunity.org/2020/formulas/mathematics/college/rcoh13uzttt6u5lp234rnv5l0drwbzwsmk.png)
![2 = 5a + b](https://img.qammunity.org/2020/formulas/mathematics/college/vcp8snd952cd4skuv37qi546qzyek6z0v7.png)
![5a + b = 2](https://img.qammunity.org/2020/formulas/mathematics/college/m4hg75z3cd5vo5se7exixilow9cxp8nl5q.png)
Now we have to solve the following system of equations:
![1) 2a + b = -1](https://img.qammunity.org/2020/formulas/mathematics/college/h0464hx29qyeywkhdpmly9lbibv4vg9ros.png)
![2) 5a + b = 2](https://img.qammunity.org/2020/formulas/mathematics/college/ao1saou3zobj2wcdewd1n3wtsx9duwm7jx.png)
From 1), we have:
![b = -1 - 2a](https://img.qammunity.org/2020/formulas/mathematics/college/tpyaonbep35qzp5xxk1gjxv1ann1k68357.png)
Replacing in 2)
![5a - 1 - 2a = 2](https://img.qammunity.org/2020/formulas/mathematics/college/qfk9oczx776d5z3ux8n7k4lg75iv85sjue.png)
![3a = 3](https://img.qammunity.org/2020/formulas/mathematics/college/mksnvgejfne0sxzmn5hcoprd353xa0r15h.png)
![a = (3)/(3)](https://img.qammunity.org/2020/formulas/mathematics/college/iy6mtb38ivh05m7978z2m5o5udj6btkrs6.png)
![a = 1](https://img.qammunity.org/2020/formulas/mathematics/high-school/yhbwdr8ug5m2njd6fvfrzawe7a0r4dplbe.png)
![b = -1 - 2a = -1 - 2 = -3](https://img.qammunity.org/2020/formulas/mathematics/college/gq3t9zomugegxwvf1uywfpzxac7ry7vvv3.png)
The equation of the line is:
![y = x - 3](https://img.qammunity.org/2020/formulas/mathematics/college/vh1iuim50g3css0lplp931hz42swmcp0bz.png)