Use the slope formula:-
Hope everything is clear; if you need any clarification/explanation, kindly let me know, and I will comment and/or edit my answer :)
9.5m questions
12.2m answers