Label the two equations.
x2 + 8x + y2 = 84 (1)
x - y = 10 (2)
Rearrange (2) to get y = x - 10 and substitute for y in (1) to get x2 + 8x + (x - 10)2 = 84. Expanding and collecting like terms gives 2x2 -12x + 16 = 0 (3). Dividing (3) through by 2 gives x2 - 6x + 8 = 0 (4). Factorising (4) gives (x - 2)(x - 4) = 0 so either x = 2 and y = -8 or x = 4 and y = -6.