Answer :

A (2, -6, B 2,2
Denote the points
(X, У)=(2, -6)
X2,½2 =12,2
Equate the coordinates
x,=2, y,=-6
X2=2, У2=2
Remember the distance formula
Substitute the values
d=112-22+12-1-612
Simplify
Solution
d=8

Hope this helps