Hello, thank you for taking the time to post your question!
The equation that you want to use to compute slope here is
m = (y2 – y1) / (x2 – x1) … for this set of values that becomes
m = (5 - 4) / (0 – 2) = 1/ -2 = -1/2
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 :)