Answer: To find the distance between two points on a grid, we can use the distance formula:
distance = sqrt((x2 - x1)^2 + (y2 - y1)^2)
where (x1, y1) and (x2, y2) are the coordinates of the two points.
In this case, the coordinates of the middle school are (-5, 3), and the coordinates of the library are (2, 3). So we have:
distance = sqrt((2 - (-5))^2 + (3 - 3)^2)
distance = sqrt((2 + 5)^2 + 0^2)
distance = sqrt(7^2)
distance = 7
Therefore, the library is 7 miles away from the middle school.
Explanation: