When writing an equation of a line using slope-intercept form: y=mx+b, the slope of the line would take the place of m, and the y-intercept would take the place of b. Just substitute these variables for the slope and y-intercept to find the equation of the line.