Answer: y = -2/5x + 4
Steps:
First find the slope of the equation y=mx+b.
slope equation (m=y2-y1/x2-x1)
Then plug in your coordinates, which the first set is (5,2) and the second set if (-5,6). m = 6 - 2/ -5 - 5
Which your answer will be 4/-10, simplify it by dividing both by 2 to get -2/5 for your slope.
Next, find your y-intercept (b).
substitute the first set of coordinates into the equation y=mx+b
Substitute: 2 = -2/5 (5) +b
Then multiply -2/5 with 5 to get (-2). Your equation should now reduce to be
2 = -2 +b
Do inverse operations on both sides by adding 2 to each side (the 2 side and the -2+b side).
This gets rid of the -2 and since we added 2 to both sides, your final equation should look like 4 = b for your y-intercept.
Plug in everything to get y = -2/5x + 4