hello!
==========================================================
You should notice that the equation of the line is written in slope-intercept form.
Slope-Intercept Form looks like so:-

Where
m -> slope & b -> y-intercept
Note:-
Have you noticed that the slope is the coefficient of x?
That's right :)
Hence, the slope of the line is

=======================================================
note:-
Hope everything is clear; if you need any clarification/explanation, kindly let me know, and I will comment and/or edit my answer :)