Hey there, you can solve this using the distance formula!
\(Distance = \sqrt{(x_{2}- x_{1})^2+(y_{2}- y_{1})^2}\)
Where \(x_{1}\) = 10
\(x_{2}\) = 2
\(y_{1}\) = 7
\(y_{2}\) = 7
So...
\(Distance = \sqrt{(2- 10)^2+(7- 7)^2}\)
\(Distance = \sqrt{(-8)^2+(0)}\)
\(Distance = \sqrt{64}\)
Distance = 8 units