Hello, thank you for taking the time to post your question!
The underlying formula that you want to use here for the slope is
m = (y2 – y1) / (x2 – x1) … on this one we have
m = (4 - -2) / (0 - -6) = 6 / 6 = 1
meaning that the slope between those two points is m = 1
I hope that helps you get moving in a better direction on this type of question! Feel free to reach out if you have any additional questions beyond that :)