The points A and B are apart from each other vertically by 3 units, and horizontally by 5 units. You get those values by counting the squares on the grid in those directions. To find their distance we can just apply the Pythagorean Theorem.
4.5m questions
5.9m answers