Look at the picture
↓↓↓↓↓↓↓↓↓↓

Answer:
The slope of line p is 3.
The slope of line q is -3.
Step-by-step explanation:
Points on line p = [tex](x_1,y_2),(x_2,y_2):(1,-1), (0.-4)[/tex]
Slope of line p ,m= [tex]\frac{y_2-y_1}{x_2-x_1}[/tex]
[tex]m=\frac{-4-(-1)}{0-(1)}=3[/tex]
The slope of line p is 3.
Points on line q = [tex](x_1,y_2),(x_2,y_2): (0,2), (1,-1)[/tex]
Slope of line q ,m'= [tex]\frac{y_2-y_1}{x_2-x_1}[/tex]
[tex]m'=\frac{-1-2}{1-0}=-3[/tex]
The slope of line q is -3.