Well in the equation y = mx+b, m is the slope and b is the y intercept.
So you'd have to figure out the rate of change or the slope which is x over y.
And the y intercept is just where ever the line crosses the y axis.
Hope this makes sense. Let me know if you need any more help :)