Hello!
First of all we need to find the slope. We can use the equation below.
![( y_(2)- y_(1) )/( x_(2) - x_(1) )](https://img.qammunity.org/2019/formulas/mathematics/middle-school/aw0h5q9w1b98x08y6578he3z5u2qrdeto6.png)
The ones and twos just represent a y or x value from one of the ordered pairs, so for example on ordered pair could represent the ones(note that the ones and twos can be switched and the slope will remain the same).
In our case we will have (-5,-2) be (
![x_(1) ,y_(1)](https://img.qammunity.org/2019/formulas/mathematics/middle-school/zixew412lwbjunmifwienqg5gipeid5izb.png)
) and (4,5) be (
![x_(2) ,y_(2)](https://img.qammunity.org/2019/formulas/mathematics/middle-school/zg0btqyh03kwjltc52cid3lzdw72jbrq72.png)
). We will plug this into the equation.
![(5+2)/(4+5) = (7)/(9)](https://img.qammunity.org/2019/formulas/mathematics/middle-school/ygo51jqdlhydoaztztcv88kwbc797y28co.png)
Therefore the slope of our line is 7/9.
------------------------------------------------------------------------
Now we need to find the y-intercept to have the equation for our line. We will put the slope and two points from the line into slope intercept form and solve for b (we will use (4,5)).
5=4(7/9)+b
5-b=3 1/9
5+(-b)=3 1/9
-b=-2 1/9
b=2 1/9
Now that we have our value for b we will put it in slope intercept form.
y=7/9x+(2 +1/9)
I hope this helps!