The given identity tells you ...
.. (sum of numbers) * (sum of squares - product) = (sum of cubes)
Substituting the given information, you have
.. (sum of numbers) * (29 -10) = 133
Then you can divide by (29 -10) to get
.. sum of numbers = 133/19 = 7
The sum of the two numbers is 7.