But unfortunately none of the pairs add to 10
1 + (-7) = -6
-1 + 7 = 6
You'll need to use the quadratic formula to solve x^2+10x-7 = 0 to get these roots
x = -5 + 4*sqrt(2) = 0.656854
x = -5 - 4*sqrt(2) = -10.656854
The decimal values are approximate.
Flip the sign of each value to end up with: -0.656854 and 10.656854
Check:
-0.656854*10.656854 = -6.999997177316 approximately which is really close to -7
-0.656854+10.656854 = 10
The rounding error happens because we rounded the roots mentioned above.
If you meant to ask "what numbers add to -7 and multiply to 10?", then the two numbers are -2 and -5.
This is found through trial and error.
It might help to list all of the possible ways to multiply to 10 using integers
-1*(-10) = 10
-2*(-5) = 10
1*10 = 10
2*5 = 10
The second row is what we want since -2 + (-5) = -7
Notice how these two values help us factor x^2-7x+10 into (x-2)(x-5)
You can check this using the FOIL rule or the box method.