the distance between (9,2) and (x,7) is 10 units, I've worked it out till I got to , 10= sqrt of (x-9)^2+36 and I don't know what to do next. help?

10=?((x-9)^2 + 36)

square both sides and expand
x^2 - 18x + 81 + 36 = 100
x^2 - 18x + 17 = 0
(x-17)(x-1) = 0
x = 17 or x = 1