The distance formula: Distance = sqrt( (x2 - x1)2 + (y2 - y1)2 )
---> sqrt( (4 - x)2 + (7 - 21)2 ) = 10 · sqrt(2)
squaring both sides: (4 - x)2 + (7 - 21)2 = 200
16 - 8x + x2 + 196 = 200
x2 - 8x + 12 = 0
(x - 6)(x - 2) = 0
Either x = 6 or x = 2.
You'll need to finish ...