How do these work? I’m still not good at these.

The first line passes through (5,0) and (0,-5) so the slope is:
[tex]\frac{(-5)-0}{0-5}=1[/tex]So slope of first line is 1.
The second line passes through the points (1,0) and (0,4) so the slope of the line is given by:
[tex]\frac{4-0}{0-1}=-4[/tex]So slope of the second line is -4.