the form or the slope-intercept form of the equation of the line is
[tex]y=mx+b[/tex]where m is the slope and b is the y-intercept
we have the next equation
[tex]y=-\frac{1}{2}x+4[/tex]as we can see the slope is m=-1/2, because we have the same form of the slope-intercept form