aπ so basically yu get 2 coordinates right?
like for example lets just say (2,1) and (3,4)
2 and 3 are both "x" and 1 and 4 are both "y"
then you plug it into the formula y2-y1/x2-x1
x1 and y1 are the first coordinates and x2 and y2 are the 2nd coordinates
so u get: 4-1/3-2
which is basically js 3
hope that helpedπ
ps: sorry if i made a mistake but i tried lol