To find this you would just look at two points that the line will cross. The 2 pairs or coordinates that are the most obvious to me are (0,-2) and (1,0) so then we would do an equation that is (which is the second y in this case 0) minus (First y in this case -2) over or / (second x in this case 1) minus (first x in this case 0) so when we plug in into the equation is is which will be simplified to so the slope would be 2.
Another simpler way to solve this is to is just to count the distance between the 2 slopes so we would go up 2 to get to 0 and over 1 which would be or 2.