The equation of the line is written in the slope-intercept form, which is: y = mx + b, where m represents the slope and b represents the y-intercept. In our equation, y = 6x + 2, we see that the slope of the line is 6.