y = x^3 ------------------------------------- ( i )
x + y = 10 --------------------------------- ( ii )
( ii ) - ( i ) => x = 10 - x^3
x^3 + x - 10 = 0 ------------------------- ( iii )
Let f(x) be x^3 + x - 10
f(2) = (2)^3 + (2) - 10 = 0
so x - 2 is a factor of f(x)
x^3 + x - 10 = (x - 2)(ax^2 + bx + c)
x^3 + x - 10 = ax^3 + (b - 2a)x^2 + (c - 2b)x - 2c
we have a = 1, b = 2, c = 5
from ( iii ), we have (x - 2)(x^2 + 2x + 5) = 0
x - 2 = 0 or x^2 + 2x + 5 = 0
x = 2 since (2)^2 - 4(1)(5) = -16 < 0