To create an equation with just a line compare two points on the graph and see how far the x and y points are on the graph then put them into a fraction with y over x then find the y intercept or find where the x coordinate equals 0 in this case it was (0, -2). Now put it all together: