Equations in slope-intercept form follow a specific format.
y= mx+ b
In the above formula, m represents the slope and b the y-intercept of the line. We are told that the slope is 3 and the y-intercept is 2. Therefore, m= 3 and b= 2. We can substitute these to obtain the equation of the line.