The equation of a line is:

where m is the slope and b is the intercep in the y axis, so we can see that the intercept is b = 4 so now we can calculate the slope with this equation so:

and we replace two point of the line so I can see ( 0,4 ) and ( 2,1 ) so:

so the correct equation is:
