The shortest distance is in red, and the triangle rectangle of the top, has a hypotenuse of 8,82 and the angle on the supermarket corner is 45 degrees, so we can write:
cos(45) = distance/8.82 ==> distance = 8.82 cos(45) = 8.82 (0.7071) = 6.2367
Answer:
6.2 miles