We can read the $y$-intercept, $b$, off the graph:
- The graph crosses the $y$-axis at $y=\var{b}$ therefore the $y$-intercept is $b=\var{b}$.
We can find a 'nice point' with whole number coordinates and its rise and run from the $y$-intercept to determine the gradient, $m$, of the line:
- The 'nice point' $(\var{point_x},\var{point_y})$ has whole number coordinates, and
- to get to it from the $y$-intercept requires a rise up of $\var{rise}$ and a run across of $\var{run}$.
- Therefore the line has a gradient of $m=\frac{\text{rise}}{\text{run}}=\frac{\var{rise}}{\var{run}}$.
We can now write the equation of the line, $y=mx+b$, as $\simplify{y={rise}/{run}x+{b}}$.