To find the slope of a line, given its equation, we have to rearrange its terms to the slope-intercept form y = mx + b. Here, 'm' gives the slope and 'b' gives the y-intercept of the equation. We rewrite the standard form of the equation of the line to the slope-intercept form y = mx + b.