You would use the slope formula to find the slope but don't simplify rather square the numerator and denomenator . Add the squares of the 2 to get the distence , but first find the square root of it to get the simplified final answer.
Hope this helps!