By looking at the graph, we can use rise over run to figure out the slope:
Next, to find the y-intercept, see the point where the line meets with the y-axis, which is at (0,4). Now, simply place those variables found into y=mx+b, where m is the slop and b is the y-intercept.