Write the point-slope form of the equation of the line satisfying each of the conditions in Exercises $1-28 .$ Then use the point-slope form of the equation to write the slope-intercept form of the equation.
Slope $=-1,$ passing through $\left(-\frac{1}{2},-2\right)$