Going 3 miles due south and 4 miles due east (since school is 4 miles west of Jimmy's house, this means Jimmy's house is due east of the school) forms the legs of a right triangle.
To find the missing side length of a right triangle, we use the Pythagorean theorem: