To calculate the distance Randy walked, we need to find the perimeter of the rectangle formed by the four corners of the block.
The distance between (-5, -2) and (-5, 9) is 9-(-2) = 11 units
The distance between (-5, 9) and (9, 9) is 9-(-5) = 14 units
The distance between (9, 9) and (9, -2) is 9-(-2) = 11 units
The distance between (9, -2) and (-5, -2) is 9-(-5) = 14 units
Therefore, the perimeter of the rectangle is 11 + 14 + 11 + 14 = 50 units
Since each unit on the grid represents 10 meters, the total distance Randy walked is 50 units * 10 meters/unit = 500 meters.
Therefore, Randy walked 500 meters around the block.