You can put this solution on YOUR website! Let the two numbers be x and y.
.
The product of the two numbers is -840. In equation form this is:
. <---- first equation
.
The sum of the two numbers is -22. In equation form this is:
. <---- second equation
.
In the second equation solve for one of the variables in terms of the other. For example solve for x by subtracting y from both sides of the equation. When you do this subtraction you get:
.
.
Substitute the right side of this equation for x in the first equation. This substitution leads to:
.
.
Multiply out the left side by multiplying y times each of the two terms in parentheses to get:
.
.
add 840 to both sides of this equation and you have:
.
.
To get this into standard quadratic form, multiply both sides (all terms) by -1 and the result is:
.
.
You can solve this by using the quadratic formula, or you can factor it. The left side factors as shown:
. in which case or
. in which case
.
Since you now know possible solutions for y, you can return to the second equation and solve for x. Using the second equation, substitute y = -42 and you get for x:
.
.
Add +42 to both sides and this becomes:
. which simplifies to:
.
.
So one possible solution to this problem is x = 20 and y = -42
.
Another possible solution occurs when y = +20. You can work this out by solving for x, but you will find that the answer for x is x = -42.
.
The answer now becomes apparent. One of the two numbers is -42 and the other is +20. (Either x = 20 and y = -42 or y = 20 and x = -42).
.
Hope this helps you to understand the process for solving this problem.