Step-by-step explanation
If (x,y) is a point in the graph of a line then its coordinates x and y form a solution to the equation of that line. In slope-intercept form this equation looks like this:

What we are going to do here is choose two points from the line in the picture and use them and the expression above to construct two equations for m and b.
As you can see (0,1) and (3,0) are part of the line so we have the following two equations:

From the first equation we get b=1. If we use this value of b in the second equation we obtain the following:

We can substract 1 from both sides:

Then we divide both sides by 3:

Then we have this equation for the line in the picture (we take y=f(x)):

Answer
Then the answer is option A.