You have traveled 18 blocks, so the correct answer is D.
Given that the distance on a city grid is measured in blocks, and on the grid, the coordinates for the location of your house are (2,6) and the Internet Cafe is located at (12, 8), and your friend lives at point (8,4), to determine, if you leave your house, visit the Internet Cafe, and then go to your friend's house, how far have you traveled, the following calculation must be performed:
Therefore, you have traveled 18 blocks, so the correct answer is D.
Learn more about calculus in https://brainly.com/question/2193984