⇒Let the two unknowns be x and y
It is said that their sum is -7 mathematically it can be written as
Their product can be written mathematically as
⇒ x×y=6
As a results you can see that we have a system of equation that we have to solve and we can solve it by substitution
let us derive the third equation from the first equation by making x the subject of the equation
As a results we have x=-7-y
Now let us substitute the equation to the second equation .
when y =-1
x=-7-(-1)
x=-7+1
⇒x=-6
When y=-6
x=-7-(-6)
x=-7+6
⇒x=-1
Note there was no need of finding the values of x
the two numbers are
-6 and -1