Think back of rise over run. Where the rise is 1 and 2 is run. Now Also, lets not forget the y intercept which you can easily obtain by looking where the line intercepts the y axis. Which in this case it would be 2.
It’s the first one. The equation of a line is y=mx+b.
The y-intercept is represented by b, and it is 2, since the line crosses the y-axis at 2.
m is the slope of the equation, and you find that by using rise over run. You choose two points on the line and use the formula (x2-x1)/(y2-y1) to find the slope, which is 1/2.