Final answer:
The candy store is approximately 12.81 miles away from the game store.
Step-by-step explanation:
To find the distance between the candy store and the game store, we can use the Pythagorean theorem. The distance between the school and the candy store is 8 miles, and the distance between the school and the game store is 10 miles. We have a right triangle with the candy store, game store, and school as the three vertices. The side connecting the candy store and the game store is the hypotenuse of the triangle. Let's call this side 'c'. According to the Pythagorean theorem, the square of the hypotenuse is equal to the sum of the squares of the other two sides.
So, we can write:
c^2 = 8^2 + 10^2
c^2 = 64 + 100
c^2 = 164
c = sqrt(164)
c ≈ 12.81 miles
Therefore, the candy store is approximately 12.81 miles away from the game store.