Hello!
Slope-intercept form is y = mx + b, where m is the slope of the line and b is the y-intercept (the point at which the line intersects the y-axis).
To write the equation of the graph, first find slope. You can find slope by calculating the change in y-values divided by the change in x-values using the formula:

Your values for

and

will use the coordinates plotted on the graph--(2, 6) and (-4, -6). Plug them in and solve to get slope.




The slope of the line is 2.
As you can see, the graph intersects the y-axis at (0, 2); that is your y-intercept. You now have all the information you need to write the equation of the graph in slope-intercept form:
y = mx + b
y = 2x + 2
To calculate the slope of the second graph, repeat the steps above for solving for slope using coordinates.



The slope of the second line is
.