hello! :)
Use the slope formula:-
![\displaystyle(y2-y1)/(x2-x1)](https://img.qammunity.org/2023/formulas/mathematics/college/3j3k9hzfma482nulxn111dhtvxvv055skl.png)
![\displaystyle(1-4)/(0-5)=(-3)/(-5) =(3)/(5)](https://img.qammunity.org/2023/formulas/mathematics/high-school/3ynhncud0pd78b44a2c1qwf4huau12lau0.png)
Second pair:-
![\displaystyle(2-7)/(-2-3) =(-5)/(-5) =1](https://img.qammunity.org/2023/formulas/mathematics/high-school/y861zqfkq6efdom4ioqty8okq6o85lbrbf.png)
notes:-
If we multiply/divide a negative by a negative, we get a positive. :)
Hope everything is clear; if you need any clarification/explanation, kindly let me know, and I will comment and/or edit my answer :)