Let's see that between the three points you can draw an equilateral triangle since the distance between you and your friend from the second avenue is the same and the streets are perpendicular to each other (besides that they form a grid). Since both must travel the same distance and neither is supposed to be faster than the other. Your friend and you will arrive at the market at the same time.