The slope of the line y = 3x + 2 is equal to 3. The slope of a straight line refers to the coefficient in front of the independent variable, x.
A straight line has two main components: slope and a y-intercept. The slope is determined by dividing the rise (change in y-coordinates) between two points by the run (change in x-coordinates) between the same points. The slope gives an indication of how steep the line is, and it can be either negative or positive. The y-intercept is the point where the line crosses the y-axis. It can be determined by setting the x variable to 0.