Equations in slope-intercept form follow a specific format, where m represents the slope of the line and b is the y-intercept.
y= mx+ b
Let's rewrite our equation a little bit so that it more closely resembles this format. This will make it easier to identify the slope m and y-intercept b of the equation.
y=2x-5 ⇒ y= 2x+( - 5)
We can see that the slope is 2 and the y-intercept is -5.