Answer:
![y = (1)/(3)x + (2)/(3)](https://img.qammunity.org/2022/formulas/mathematics/college/7y79dbmhgesn9kn6p3r573xhapph62zgae.png)
Explanation:
To find the slope, you can use the slope formula:
![(y2 - y1)/(x2 - x1)](https://img.qammunity.org/2022/formulas/mathematics/high-school/rw7f86hmii44ewn2p6qff4r1on78tfz88n.png)
Where (x1, y1) is one set of coordinates with (x2, y2) being the second set.
Step 1 - Plug known values in:
![(2 - 0)/(4 -(-2))](https://img.qammunity.org/2022/formulas/mathematics/college/h0tztiwjuyr2vii4iq78t7qdng8w9d5b13.png)
![\\(2)/(4 + 2)](https://img.qammunity.org/2022/formulas/mathematics/college/fjimz2yvmr5b3ngbomdw6mfzhixur0i2yw.png)
![\\(2)/(6)](https://img.qammunity.org/2022/formulas/mathematics/college/nb2qor4r7ug60n78yms9ijrdvq31vg4mk7.png)
This simplifies to:
![\\(1)/(3)](https://img.qammunity.org/2022/formulas/mathematics/college/m1j9f8zo7qxzazy0zgfgxrvrz0v2xn930e.png)
The equation y = mx + b states that the m variable is the slope with the b value being the y-intercept, so:
![y = (1)/(3)x + b](https://img.qammunity.org/2022/formulas/mathematics/high-school/wenv2w7ykh6c7d21c5sdoyq9ts3bq2p693.png)
Step 2 - Plug the variables of the second equation in to calculate y intercept:
![(4, 2)\\\\2 = (1)/(3)(4) + b\\2 = (4)/(3) + b](https://img.qammunity.org/2022/formulas/mathematics/college/hvebzkqx7p7c3ym9adpn3tdwvz18txc3ii.png)
Subtract
from 2:
![2 - (4)/(3) = b\\(6)/(3) - (4)/(3) = b\\b = (2)/(3)](https://img.qammunity.org/2022/formulas/mathematics/college/cva7og81vgosw6fa1xxh7srf01fv7ggih7.png)
Meaning the end equation is:
![y = (1)/(3)x + (2)/(3)](https://img.qammunity.org/2022/formulas/mathematics/college/7y79dbmhgesn9kn6p3r573xhapph62zgae.png)
Hope this helps!