So we will firt sketch the given information
Let S denotes the location of the school
Let G denotes the location of the game store
Let I denotes the location for his favourite ice cream palor
It is clear from the diagram above that we want to find x
Using the pythagoras theorem

Subtituting
![\begin{gathered} 10^2=6^2+x^2 \\ 100=36+x^2 \\ x^2=100-36 \\ x^2=64 \\ x=\sqrt[]{64} \\ x=8 \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/college/w7cp6o081wibndp2fszgydha14aqureqnz.png)
The distance between the game store and the ice cream parlor is 8 miles