I could not figure slope = 0 but I did figure out slope = 1
I hope my answer helps
Write the slope intercept form of the equation of the line through the given point with the given slope.
through:(2,-4), slope=-1
Step 1. The slope-intercept form is given as y=mx+b where m is the slope and b is the y-intercept when x=0 or at point (0,b).
Step 2. Now we have to find the line with slope m=-1 going through point (2,-4).
Step 3. Given two points (x1,y1) and (x2,y2), then the slope m is given as
m=%28y2-y1%29%2F%28x2-x1%29
Step 4. Let (x1,y1)=(2,-4) or x1=2 and y1=-4. Let other point be (x2,y2)=(x,y) or x2=x and y2=y.
Step 5. Now we're given m=-1. Substituting above values and variables in the slope equation m yields the following steps:
m=%28y2-y1%29%2F%28x2-x1%29
-1=%28y-%28-4%29%29%2F%28x-2%29=%28y%2B4%29%2F%28x-2%29
Step 6. Multiply x-1 to both sides to get rid of denominator on right side of equation.
-1%28x-2%29=y%2B4
-x%2B2=y%2B4
Step 7. Add -4 to both sides of the equation
-x%2B2%2B%28-4%29=y%2B4%2B%28-4%29
-x-2=y
Step 7. ANSWER: The equation in slope-intercept form is y=-x-2 where the slope m=-1 and the y-intercept b=-2.
here is a note: the above equation can be rewritten in standard form as
x%2By=-2
Sorry if I used weird symboles for this...
Hope this helps!!!