Part A:
C(1,2)
D(-4,-2)
[tex]m = \frac{yd - yc}{xd - xc} [/tex]
[tex]m = \frac{ - 2 - 2}{ - 4 -1} [/tex]
[tex]m = \frac{4}{5} [/tex]
Part B:
A(1,y)
B(6,-1)
If a line is parallel to another line, it has the same slope; then:
[tex] \frac{yb - ya}{xb - xa} = \frac{4}{5} [/tex]
[tex] \frac{ - 1 - y}{6 - 1} = \frac{4}{5} [/tex]
[tex] \frac{ - 1 - y}{5} = \frac{4}{5} [/tex]
Simplify by 5 by both sides:
[tex] - 1 - y = 4[/tex]
[tex] - y = 5[/tex]
[tex]y = - 5[/tex]