The slope of both the lines are
. Therefore, the correct option is B.
Line 1 (Passing through points
and
:
1. Calculate the slope (
) using the formula:
![$m=(y_2-y_1)/(x_2-x_1)$](https://img.qammunity.org/2021/formulas/mathematics/high-school/y6gujldg0ldkzzy5so2xj861ebaxmw2e7l.png)
2. Substitute the coordinates of the two points into the formula:
![$m=(-2-4)/(-1-(-4))$](https://img.qammunity.org/2021/formulas/mathematics/high-school/hxnux1p505fvnvi6oflwonep4h4cj35a00.png)
3. Simplify the calculation:
![m=(-6)/(3) \\\ m = -2](https://img.qammunity.org/2021/formulas/mathematics/high-school/lw6yskltei99pucapquit0rdrhvvrvmy0u.png)
4. Use the point-slope form of the equation to get the equation of the line:
![$y-y_1=m\left(x-x_1\right)$](https://img.qammunity.org/2021/formulas/mathematics/high-school/s2giibli0o5kb6ebr96fqjt6oy8qypc7xa.png)
5. Choose one of the points for the equation, for example
, and substitute the values:
![y-4=-2(x+4) \\y-4=-2x-8 \\y=-2x-4](https://img.qammunity.org/2021/formulas/mathematics/high-school/tspwhxhq0b34yep5d3ub7nniiv8j15tunj.png)
Line 2 (Passing through points
and
:
1. Calculate the slope
using the same formula as above.
2. Substitute the coordinates of the two points into the formula:
![$m=(5-3)/(1-(-1))$](https://img.qammunity.org/2021/formulas/mathematics/high-school/xnt2u157dqpjmkb65b3zm1739e4txswffs.png)
3. Simplify the calculation:
![$m=(2)/(2)$](https://img.qammunity.org/2021/formulas/mathematics/high-school/d9turyhku1d74bjng895zaj18s1paantux.png)
4. Simplify further to find the slope:
![$m=1$](https://img.qammunity.org/2021/formulas/mathematics/high-school/bcfws817f2l0b87f4kl7k1woobaxjjsqy5.png)
5. Use the point-slope form of the equation with one of the points, say
, and substitute the values:
![$y-3=1(x+1)$](https://img.qammunity.org/2021/formulas/mathematics/high-school/bqob0pb6m3ioooce453t7h1o2crfyeg6o6.png)
6. Distribute and rearrange to get the standard form or slope-intercept form:
![y=x+4](https://img.qammunity.org/2021/formulas/mathematics/middle-school/8tth4tmyyqhbacvw6xcbvm9t5gjdxjtg5o.png)
The correct options in the question are:
A.
![y=-x-4; y=2x-2](https://img.qammunity.org/2021/formulas/mathematics/high-school/nc417ss4y7uvkbjy3ccr5gkigwzlmwv3jz.png)
B.
![y=-x+4; y=-2x-4](https://img.qammunity.org/2021/formulas/mathematics/high-school/c23utoio563n2zoohrhwtknlloa95wqqkj.png)
C.
![y=x-4; y=2x-2](https://img.qammunity.org/2021/formulas/mathematics/high-school/fkv8q8qzygh378ofbdmac19srp1himgivi.png)
D.
![y=x+4; y=2x-4](https://img.qammunity.org/2021/formulas/mathematics/high-school/rrdzm7vekapf8a0z7m3eno7juxnlox5uxu.png)