In order to calculate the distance between the park and the school, which is marked by the x in the picture attached we need to use the Pythagorean theorem. This equation is the following
where a is the 3 miles east and b is the 4 miles south ... now we can plug in these values and solve the equation.
... square both the 3 and the 4
... add the two values
... square root both sides
5 = c
Finally we can see that there is a 5-mile distance between the park and the apartment