Did you mean, what has a sum of 35 and a difference of 6. So,
x + y = 35
x-y = 6
I would use a well-informed guess and check strategy. I would start by looking at combinations that add up to 35, starting with ones where the difference between the 2 numbers will not be too huge (for example, there is no point trying 34 + 1 because there is no question that the difference between 35 and 1 is greater than 6!) or too small (18 -17 = 1, so it won't work).
I would probably make a chart to keep track. I'll start with 22+13
X Y SUM DIFFERENCE
22 13 35 9
21 14 35 7
20 15 35 5
So now I've discovered that this won't work with whole numbers.
How about 20.5 + 14.5? That equals 35. And 20.5 minus 14.5 equals 6!
So the answer would be 20.5 and 14.5.