You can put this solution on YOUR website! The slope of the the line is defined as the change in y divided by the change in x, or the 'rise over the run'.
So, we have two points: (-2,4) and (5,6).
The change in y = 6-4 = 2
The change in x = 5-(-2) = 7
The slope = 2/7
We can express this as an equation
y = (2/7)*x + b
Assuming b=0,
y = (2/7)*x
We can graph this