Find the distance between the points (2,2) and (8,-6) ?

I would first put these two points on a graph, they are pretty far apart but i know that the answer is on this question somewhere, so we start counting the amount of squares it takes to get from point A to point B, I got an answer result of 7 squares, so I conclude that the answer is 7