The given equation is in slope-intercept form, which means the coefficient of x is the slope.
Therefore, the slope is 1.
How to know if you have the slope-intercept form?
The slope intercept-form is y = mx + b, as you can observe, the variable y is completely isolated, and the other side of the equation has two terms. Whenever you have a linearGrea equation like this, it means you have a slope-intercept form where the slope is m, and the y-intercept is b.