Use the slope formula:-
Plug in the values:-
Reduce the fraction by dividing the top & bottom by 2:-
Hope everything is clear; if you need any clarification/explanation, kindly let me know, and I'll comment and/or edit my answer :)
7.6m questions
10.2m answers