Distance in the Coordinate Plane

Drag endpoints A or B until Segment AB's length(a=) is a whole number value. Write down the endpoints of the two points, then plug them into the distance formula and show all the simplifying steps to get to the Segment's length. Complete this task twice, writing both in your notes. At least one of the examples must have a diagonal Segment AB.