https://www.gstatic.com/education/formulas2/397133473/en/slope_of_a_line.svg
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.