Let's plug the coordinate point values into the equation:

(1,3) is
x₁ and (3,1) is x₂
Begin to simplify within the parenthesis:

Square the two numbers:
Add the two to get:
Since 8 is not a square number, this is as far as we can simplify this. Hope this helps!