First you need to know that slope-intercept form is written as y=mx+b
b= y-intercept and m= slope
I'll first start with line number one.
First, you can see that line number one crossed the y-intercept at 2.
So far we have y=mx+2
Next to find slope either do Y2-Y1/X2-X1 or M = Rise/Run
I'll do rise/run. I picked two points. (I provided a picture) An I went up 1 and went to the right 2. Giving you a slope of 1/2. If I add this to my my slope-intercept form I would get y=mx+b. Which is D.
Just do that for the rest of them.
But, here is the Code: DGBH
Let me know if anything is incorrect!