you can subtract from point 1 to point 2
(9,-2) - (8,3)
9-8= 1
-2-3= -5
therefore horizontal leg is 1
vertical leg is -5
you can also sketch and count the units :)