The equation of a line can be written in the slope-intercept form given to be:
where m is the slope of the line and b is the intercept on the y-axis.
The equation is given to be:
To write the equation in the slope-intercept form, we can subtract 2x from both sides:
Therefore, the slope of the line is:
and the y-intercept is: